Skip to content

Commit

Permalink
modify test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
einxie authored and pmazzini committed Jun 11, 2020
1 parent 931cf0d commit ecb6bb4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions zk_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ func TestCreateTTL(t *testing.T) {
}
defer zk.Close()

path := "/gozk-test-ttl"
path := "/gozk-test"

if err := zk.Delete(path, -1); err != nil && err != ErrNoNode {
t.Fatalf("Delete returned error: %+v", err)
Expand Down Expand Up @@ -161,7 +161,7 @@ func TestCreateContainer(t *testing.T) {
}
defer zk.Close()

path := "/gozk-test-container"
path := "/gozk-test"

if err := zk.Delete(path, -1); err != nil && err != ErrNoNode {
t.Fatalf("Delete returned error: %+v", err)
Expand Down

0 comments on commit ecb6bb4

Please sign in to comment.