diff options
author | David Mitchell <davem@iabyn.com> | 2015-09-06 10:43:18 +0100 |
---|---|---|
committer | David Mitchell <davem@iabyn.com> | 2015-09-06 10:43:18 +0100 |
commit | 3682772928bcf1063e53b321f7bb8d721af6ca50 (patch) | |
tree | 68b14798388cec8c1dd307b00372eae32e73ea18 /t | |
parent | dd9881f40a5d4992ab4cc90fa6c086d7646bfcf5 (diff) | |
download | perl-3682772928bcf1063e53b321f7bb8d721af6ca50.tar.gz |
re/speed.t: increase watchdog timeout
49bc8c204e5 added more tests to this file, increasing its execution time
threefold under ASAN. Increase the watchdog timeout proportionally,
to stop occasional smoke failures.
Diffstat (limited to 't')
-rw-r--r-- | t/re/speed.t | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/t/re/speed.t b/t/re/speed.t index 28acf882d5..4d6e2f0dc9 100644 --- a/t/re/speed.t +++ b/t/re/speed.t @@ -23,7 +23,7 @@ BEGIN { skip_all_without_unicode_tables(); } -plan tests => 57; # Update this when adding/deleting tests. +plan tests => 57; #** update watchdog timeouts proportionally when adding tests use strict; use warnings; @@ -41,7 +41,7 @@ run_tests() unless caller; sub run_tests { - watchdog(($::running_as_thread && $::running_as_thread) ? 50 : 75); + watchdog(($::running_as_thread && $::running_as_thread) ? 150 : 225); { # [perl #120446] |