From: Laszlo Boszormenyi (GCS) Date: Wed, 28 Sep 2022 17:05:02 +0000 (+0100) Subject: wait a second after go serve socket X-Git-Tag: archive/raspbian/0.17.0-2+rpi1^2~8 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=2858fe4b4c8323496ebeb775fcd07f41b097df76;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 {