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")