SOURCES: perl-timer-test.patch (NEW) - perl-timer-test.patch: incr...

qrczak qrczak at pld-linux.org
Sun Feb 11 01:37:45 CET 2007


Author: qrczak                       Date: Sun Feb 11 00:37:45 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- perl-timer-test.patch: increased limits so the timer test doesn't
  fail so easily under a heavy loaded system.

---- Files affected:
SOURCES:
   perl-timer-test.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/perl-timer-test.patch
diff -u /dev/null SOURCES/perl-timer-test.patch:1.1
--- /dev/null	Sun Feb 11 01:37:45 2007
+++ SOURCES/perl-timer-test.patch	Sun Feb 11 01:37:39 2007
@@ -0,0 +1,20 @@
+--- perl-5.8.8/ext/Time/HiRes/t/HiRes.t~	2005-12-17 20:20:26.000000000 +0100
++++ perl-5.8.8/ext/Time/HiRes/t/HiRes.t	2007-02-11 00:06:42.000000000 +0100
+@@ -65,7 +65,7 @@
+ 
+ my $have_alarm = $Config{d_alarm};
+ my $have_fork  = $Config{d_fork};
+-my $waitfor = 60; # 10-20 seconds is normal (load affects this).
++my $waitfor = 150; # 10-20 seconds is normal (load affects this).
+ my $timer_pid;
+ my $TheEnd;
+ 
+@@ -109,7 +109,7 @@
+ # completes fine with (say) 30% slosh, and fail otherwise.  If you do that,
+ # consider changing over to test.pl at the same time.
+ # --A.D., Nov 27, 2001
+-my $limit = 0.20; # 20% is acceptable slosh for testing timers
++my $limit = 0.50; # 50% is acceptable slosh for testing timers
+ 
+ sub skip {
+     map { print "ok $_ # skipped\n" } @_;
================================================================


More information about the pld-cvs-commit mailing list