This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
re/speed.t: increase watchdog timeout
authorDavid Mitchell <davem@iabyn.com>
Sun, 6 Sep 2015 09:43:18 +0000 (10:43 +0100)
committerDavid Mitchell <davem@iabyn.com>
Sun, 6 Sep 2015 09:43:18 +0000 (10:43 +0100)
49bc8c204e5 added more tests to this file, increasing its execution time
threefold under ASAN. Increase the watchdog timeout proportionally,
to stop occasional smoke failures.

t/re/speed.t

index 28acf88..4d6e2f0 100644 (file)
@@ -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]