Increase wait time after `agent.StartSync()`

This commit is contained in:
William Tisäter 2014-05-27 01:00:13 +02:00
parent 7146561fad
commit 39c9011ade
1 changed files with 2 additions and 2 deletions

View File

@ -78,7 +78,7 @@ func TestAgentAntiEntropy_Services(t *testing.T) {
// Trigger anti-entropy run and wait
agent.StartSync()
time.Sleep(100 * time.Millisecond)
time.Sleep(200 * time.Millisecond)
// Verify that we are in sync
req := structs.NodeSpecificRequest{
@ -200,7 +200,7 @@ func TestAgentAntiEntropy_Checks(t *testing.T) {
// Trigger anti-entropy run and wait
agent.StartSync()
time.Sleep(100 * time.Millisecond)
time.Sleep(200 * time.Millisecond)
// Verify that we are in sync
req := structs.NodeSpecificRequest{