increase go test timeout for slow ppc64el
authorLaszlo Boszormenyi (GCS) <gcs@debian.org>
Wed, 22 Jan 2025 21:44:47 +0000 (22:44 +0100)
committerLaszlo Boszormenyi (GCS) <gcs@debian.org>
Wed, 22 Jan 2025 21:44:47 +0000 (22:44 +0100)
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

lib/go/thrift/simple_server_test.go

index f3a59ee18ea78780d21b8ba7dbf2de4d2083993e..b83445658bd91708e92bfce7aea93fe1515ee65b 100644 (file)
@@ -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