Browse Source

Increases wait to account for random stagger.

pull/1698/head
James Phillips 9 years ago
parent
commit
524aaae9b7
  1. 2
      command/agent/local_test.go

2
command/agent/local_test.go

@ -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…
Cancel
Save