Increases wait to account for random stagger.

This commit is contained in:
James Phillips 2016-02-07 13:56:45 -08:00
parent a61a7403a7
commit 3be9f16030
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{