From: Laszlo Boszormenyi (GCS) Date: Fri, 1 May 2026 09:01:01 +0000 (+0200) Subject: increase go test timeout for slow ppc64el X-Git-Tag: archive/raspbian/0.23.0-3+rpi1^2^2~3 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=875ff9de8bf2c998a7b078e19a91261d73e58e9d;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 0fcb01b..3eb9849 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