From cac45a620b5cf8812af32e3a4324196972de0721 Mon Sep 17 00:00:00 2001 From: John Murret Date: Mon, 6 May 2024 13:17:29 -0600 Subject: [PATCH] removing unneeded 200 millisecond timeout. --- dependency/consul_peering_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dependency/consul_peering_test.go b/dependency/consul_peering_test.go index 72a6a1666..4b3c2b245 100644 --- a/dependency/consul_peering_test.go +++ b/dependency/consul_peering_test.go @@ -119,8 +119,7 @@ func TestListPeeringsQuery_Fetch(t *testing.T) { // create another peer err = testClients.createConsulPeerings(tenancy) require.NoError(t, err) - time.Sleep(200 * time.Millisecond) - + select { case err := <-errCh: if err != ErrStopped {