mirror of https://github.com/status-im/consul.git
Increases wait to account for random stagger.
This commit is contained in:
parent
6790930c4e
commit
524aaae9b7
|
@ -899,7 +899,7 @@ func TestAgent_sendCoordinate(t *testing.T) {
|
|||
testutil.WaitForLeader(t, agent.RPC, "dc1")
|
||||
|
||||
// Wait a little while for an update.
|
||||
time.Sleep(2 * conf.ConsulConfig.CoordinateUpdatePeriod)
|
||||
time.Sleep(3 * conf.ConsulConfig.CoordinateUpdatePeriod)
|
||||
|
||||
// Make sure the coordinate is present.
|
||||
req := structs.DCSpecificRequest{
|
||||
|
|
Loading…
Reference in New Issue