Skip to content

Commit

Permalink
fix the flaky test TestV3AuthRestartMember
Browse files Browse the repository at this point in the history
Signed-off-by: Benjamin Wang <[email protected]>
  • Loading branch information
ahrtr committed Sep 9, 2022
1 parent 6730ed8 commit b8bea91
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions integration/v3_auth_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -465,6 +465,7 @@ func TestV3AuthRestartMember(t *testing.T) {
clus.Members[0].Stop(t)
err = clus.Members[0].Restart(t)
testutil.AssertNil(t, err)
clus.Members[0].WaitOK(t)

// nothing has changed, but it fails without refreshing cache after restart
_, err = c2.Put(context.TODO(), "foo", "bar2")
Expand Down

0 comments on commit b8bea91

Please sign in to comment.