Skip to content

Commit

Permalink
add full integration test (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
pablo-ruth authored Oct 5, 2020
1 parent 895aeb8 commit 4187f99
Show file tree
Hide file tree
Showing 12 changed files with 361 additions and 132 deletions.
4 changes: 4 additions & 0 deletions loadbalance_content_rewriting_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ import (
)

func TestClient_LoadbalanceGetContentRewritings(t *testing.T) {
if os.Getenv("TEST_LENS") != "true" {
t.Skip()
}

client, err := NewClientHelper()
if err != nil {
t.Fatal(err)
Expand Down
4 changes: 4 additions & 0 deletions loadbalance_content_routing_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ import (
)

func TestClient_LoadbalanceGetContentRoutings(t *testing.T) {
if os.Getenv("TEST_LENS") != "true" {
t.Skip()
}

client, err := NewClientHelper()
if err != nil {
t.Fatal(err)
Expand Down
4 changes: 4 additions & 0 deletions loadbalance_pool_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ import (
)

func TestClient_LoadbalanceGetPools(t *testing.T) {
if os.Getenv("TEST_LENS") != "true" {
t.Skip()
}

client, err := NewClientHelper()
if err != nil {
t.Fatal(err)
Expand Down
3 changes: 3 additions & 0 deletions loadbalance_real_server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ import (
)

func TestClient_LoadbalanceGetRealServers(t *testing.T) {
if os.Getenv("TEST_LENS") != "true" {
t.Skip()
}

client, err := NewClientHelper()
if err != nil {
Expand Down
Loading

0 comments on commit 4187f99

Please sign in to comment.