]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
test1592: greatly increase the maximum test timeout
authorDan Fandrich <dan@coneharvesters.com>
Fri, 8 Sep 2023 06:46:10 +0000 (23:46 -0700)
committerDan Fandrich <dan@coneharvesters.com>
Wed, 13 Sep 2023 18:26:08 +0000 (11:26 -0700)
It was too short to be reliable on heavily loaded CI machines, and
as a fail-safe only, it didn't need to be short.

Ref: #11328

tests/libtest/lib1592.c

index 77b637d3de2821d2f10f03bc4fb23b27e8551bda..974dd256c1bc79b67516f4ea4331a4c4577fda32 100644 (file)
@@ -32,8 +32,9 @@
 /* We're willing to wait a very generous two seconds for the removal.  This is
    as low as we can go while still easily supporting SIGALRM timing for the
    non-threaded blocking resolver.  It doesn't matter that much because when
-   the test passes, we never wait this long. */
-#define TEST_HANG_TIMEOUT 2 * 1000
+   the test passes, we never wait this long. We set it much higher to avoid
+   issues when running on overloaded CI machines. */
+#define TEST_HANG_TIMEOUT 60 * 1000
 
 #include "test.h"
 #include "testutil.h"