From: Laszlo Boszormenyi (GCS) Date: Sun, 15 May 2022 12:42:11 +0000 (+0100) Subject: wait a second after go serve socket X-Git-Tag: archive/raspbian/0.16.0-5+rpi1^2~10 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=beecf7489e35930babd1f23454b55587de7a569a;p=thrift.git 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 --- 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 {