From 09c341d1d2e47c2eb2cc33b6906a17b0fa508575 Mon Sep 17 00:00:00 2001 From: Jochen Ehret Date: Tue, 16 Jul 2024 10:35:01 +0200 Subject: [PATCH] [Issue 1173] In "SendAndReceive", wait 100ms * shorten wait from 2s to 100ms and see if that stabilizes the test --- cats_suite_helpers/cats_suite_helpers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cats_suite_helpers/cats_suite_helpers.go b/cats_suite_helpers/cats_suite_helpers.go index 6f7478bb1..6187a5ceb 100644 --- a/cats_suite_helpers/cats_suite_helpers.go +++ b/cats_suite_helpers/cats_suite_helpers.go @@ -415,7 +415,7 @@ func SendAndReceive(addr string, externalPort string) (string, error) { } // see https://github.com/cloudfoundry/cf-acceptance-tests/issues/1173 - time.Sleep(2 * time.Second) + time.Sleep(100 * time.Millisecond) buff := make([]byte, 1024) _, err = conn.Read(buff)