From b8bea91f22aaeac64524ec3ceda90f8d3e6c08dd Mon Sep 17 00:00:00 2001 From: Benjamin Wang Date: Fri, 9 Sep 2022 09:37:25 +0800 Subject: [PATCH] fix the flaky test TestV3AuthRestartMember Signed-off-by: Benjamin Wang --- integration/v3_auth_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/integration/v3_auth_test.go b/integration/v3_auth_test.go index 469ea18d33f..03c01ef6d7f 100644 --- a/integration/v3_auth_test.go +++ b/integration/v3_auth_test.go @@ -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")