Skip to content

Commit

Permalink
fix the flaky test fix_TestV3AuthRestartMember_20220913 for 3.5
Browse files Browse the repository at this point in the history
Signed-off-by: Benjamin Wang <wachao@vmware.com>
  • Loading branch information
ahrtr committed Sep 13, 2022
1 parent 646ba66 commit 2f1171f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/integration/v3_auth_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -492,6 +492,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 2f1171f

Please sign in to comment.