From e97c23891e0c8153fa8a8450bb1452178ed11ce4 Mon Sep 17 00:00:00 2001 From: "Laszlo Boszormenyi (GCS)" Date: Tue, 13 Sep 2022 19:24:02 +0100 Subject: [PATCH] wait a second after go serve socket Last-Update: 2021-09-26 Multiple upstream wait time by hundred. Gbp-Pq: Name go_test_fail_on_busy_machine.patch --- lib/go/test/tests/multiplexed_protocol_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/go/test/tests/multiplexed_protocol_test.go b/lib/go/test/tests/multiplexed_protocol_test.go index 72f174e..213bbca 100644 --- a/lib/go/test/tests/multiplexed_protocol_test.go +++ b/lib/go/test/tests/multiplexed_protocol_test.go @@ -84,7 +84,7 @@ func TestMultiplexedProtocolFirst(t *testing.T) { defer server.Stop() go server.Serve() - time.Sleep(10 * time.Millisecond) + time.Sleep(1000 * time.Millisecond) transport, err := createTransport(addr) if err != nil { @@ -123,7 +123,7 @@ func TestMultiplexedProtocolSecond(t *testing.T) { defer server.Stop() go server.Serve() - time.Sleep(10 * time.Millisecond) + time.Sleep(1000 * time.Millisecond) transport, err := createTransport(addr) if err != nil { -- 2.30.2