SHA256
1
0
forked from pool/perl
perl/perl-threads.t-timeout.diff

27 lines
779 B
Diff
Raw Normal View History

From 83d6f158711260fab9a16e49203c65f2ba4fb00e Mon Sep 17 00:00:00 2001
From: Father Chrysostomos <sprout@cpan.org>
Date: Sun, 5 Jan 2014 16:20:58 -0800
Subject: [PATCH] threads.t: Increase watchdog timeout
PERL_DEBUG_READONLY_COW is too slow for a 60s timeout.
---
t/op/threads.t | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/t/op/threads.t b/t/op/threads.t
index 61889a9..6fb2410 100644
--- a/t/op/threads.t
+++ b/t/op/threads.t
@@ -135,7 +135,7 @@ EOI
#
# run-time usage of newCONSTSUB (as done by the IO boot code) wasn't
# thread-safe - got occasional coredumps or malloc corruption
-watchdog(60, "process");
+watchdog(180, "process");
{
local $SIG{__WARN__} = sub {}; # Ignore any thread creation failure warnings
my @t;
--
1.8.5.2