Skip to content

Commit

Permalink
clientv3/integration: update MemberAdd call
Browse files Browse the repository at this point in the history
Update MemberAdd call in TestMemberAddWithExistingURLs.
  • Loading branch information
jingyih committed May 10, 2019
1 parent 5d1f6c7 commit 11e4168
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clientv3/integration/cluster_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ func TestMemberAddWithExistingURLs(t *testing.T) {
}

existingURL := resp.Members[0].PeerURLs[0]
_, err = capi.MemberAdd(context.Background(), []string{existingURL})
_, err = capi.MemberAdd(context.Background(), []string{existingURL}, false)
expectedErrKeywords := "Peer URLs already exists"
if err == nil {
t.Fatalf("expecting add member to fail, got no error")
Expand Down

0 comments on commit 11e4168

Please sign in to comment.