From: Laszlo Boszormenyi (GCS) Date: Wed, 29 Jan 2025 20:16:20 +0000 (+0100) Subject: increase go test timeout for slow ppc64el X-Git-Tag: archive/raspbian/0.19.0-4+rpi1^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=a9084de75d08ff92a8cbecea64a9278a8d510533;p=thrift.git increase go test timeout for slow ppc64el Bug-Debian: https://bugs.debian.org/1087611 Forwarded: no Last-Update: 2025-01-22 Multiply TestNoHangDuringStopFromClientNoDataSendDuringAcceptLoop timeout by the magnitude of 100x. Gbp-Pq: Name go_testing_timeout.patch --- diff --git a/lib/go/thrift/simple_server_test.go b/lib/go/thrift/simple_server_test.go index f3a59ee..b834456 100644 --- a/lib/go/thrift/simple_server_test.go +++ b/lib/go/thrift/simple_server_test.go @@ -205,7 +205,7 @@ func TestNoHangDuringStopFromClientNoDataSendDuringAcceptLoop(t *testing.T) { } time.Sleep(networkWaitDuration) - const serverStopTimeout = 50 * time.Millisecond + const serverStopTimeout = 5000 * time.Millisecond backupServerStopTimeout := ServerStopTimeout t.Cleanup(func() { ServerStopTimeout = backupServerStopTimeout