arm: Fix for test running slowly.
authorRichard W.M. Jones <rjones@redhat.com>
Sat, 28 Apr 2012 19:41:33 +0000 (20:41 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Sat, 28 Apr 2012 19:41:33 +0000 (20:41 +0100)
If the 'sed' command runs slowly (ie. on arm) then the regular
every-job fires twice, causing the test to fail.

tests/jobs/t300_reload.ml

index f7c6532..3966ab0 100644 (file)
@@ -22,7 +22,7 @@ let () =
   Whentools.set_variable_int "counter" 1;
   Whentools.set_variable "state" "A"
 
-every 2 seconds :
+every 4 seconds :
 <<
   echo $JOBSERIAL $JOBNAME $counter >\> $HOME/test_output
   whenjobs --set --type int counter=$(($counter+1))