From 39c9011adec6a608e8a3b8b264d6fe98e4eae6e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?William=20Tis=C3=A4ter?= Date: Tue, 27 May 2014 01:00:13 +0200 Subject: [PATCH] Increase wait time after `agent.StartSync()` --- command/agent/local_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/command/agent/local_test.go b/command/agent/local_test.go index 655b5b2031..2cc5d9da87 100644 --- a/command/agent/local_test.go +++ b/command/agent/local_test.go @@ -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{