From a749f46316c2c9fa973c493446e86eb7e9f8712b Mon Sep 17 00:00:00 2001 From: Freddy Date: Wed, 6 May 2020 14:33:17 -0600 Subject: [PATCH] Remove timeout and call to Fatal from goroutine (#7797) --- agent/proxycfg/manager_test.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/agent/proxycfg/manager_test.go b/agent/proxycfg/manager_test.go index 733b9f4f8..55167a7ed 100644 --- a/agent/proxycfg/manager_test.go +++ b/agent/proxycfg/manager_test.go @@ -485,12 +485,6 @@ func TestManager_deliverLatest(t *testing.T) { Port: 2222, } - // Put an overall time limit on this test case so we don't have to guard every - // call to ensure the whole test doesn't deadlock. - time.AfterFunc(100*time.Millisecond, func() { - t.Fatal("test timed out") - }) - // test 1 buffered chan ch1 := make(chan *ConfigSnapshot, 1)