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:
Anthony Romano 2017-03-22 12:42:49 -07:00
parent 1a75165ed8
commit 9f34d3493d

View File

@ -61,7 +61,7 @@ func TestRestartMember(t *testing.T) {
t.Fatal(err)
}
}
c.waitLeader(t, c.Members)
clusterMustProgress(t, c.Members)
}