From 85b9de1f0fceccab3471b30d3ad82e17e6945f7c Mon Sep 17 00:00:00 2001 From: "Laszlo Boszormenyi (GCS)" Date: Tue, 8 Jan 2019 21:31:07 +0000 Subject: [PATCH] wait a second after go serve socket Last-Update: 2018-09-23 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 0b5896b..337e250 100644 --- a/lib/go/test/tests/multiplexed_protocol_test.go +++ b/lib/go/test/tests/multiplexed_protocol_test.go @@ -66,7 +66,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 { @@ -105,7 +105,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