Increases wait to account for random stagger.

This commit is contained in:
James Phillips 2016-02-07 13:56:45 -08:00
parent 6790930c4e
commit 524aaae9b7
1 changed files with 1 additions and 1 deletions

View File

@ -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{