mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
integration: wait on leader before progress check in TestRestartMember
In rare cases, the last member may not have the leader by the time the final cluster progress check tries to open a watch, causing a timeout.
This commit is contained in:
parent
1a75165ed8
commit
9f34d3493d
@ -61,7 +61,7 @@ func TestRestartMember(t *testing.T) {
|
||||
t.Fatal(err)
|
||||
}
|
||||
}
|
||||
|
||||
c.waitLeader(t, c.Members)
|
||||
clusterMustProgress(t, c.Members)
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user