mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
fix the flaky test fix_TestV3AuthRestartMember_20220913 for 3.5
Signed-off-by: Benjamin Wang <wachao@vmware.com>
This commit is contained in:
parent
646ba66c5e
commit
2f1171ff66
@ -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")
|
||||
|
Loading…
x
Reference in New Issue
Block a user