From 8c72bb0cdf96c170065fc551d26d7690e87fee21 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Thu, 19 Jul 2018 14:20:50 -0500 Subject: [PATCH] agent/local: address remaining test feedback --- agent/local/state_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/agent/local/state_test.go b/agent/local/state_test.go index 11590e5122..e7dfb29060 100644 --- a/agent/local/state_test.go +++ b/agent/local/state_test.go @@ -1637,7 +1637,7 @@ func TestAgent_AliasCheck(t *testing.T) { case <-notifyCh: t.Fatal("notify received") - case <-time.After(50 * time.Millisecond): + default: } // Update other check and verify we do not get notified @@ -1646,7 +1646,7 @@ func TestAgent_AliasCheck(t *testing.T) { case <-notifyCh: t.Fatal("notify received") - case <-time.After(50 * time.Millisecond): + default: } // Update change and verify we get notified