From: Laszlo Boszormenyi (GCS) Date: Tue, 8 Jan 2019 21:31:07 +0000 (+0000) Subject: wait a second after go serve socket X-Git-Tag: archive/raspbian/0.13.0-6+rpi1~1^2^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=85b9de1f0fceccab3471b30d3ad82e17e6945f7c;p=thrift.git 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 --- 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 {