logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c...@apache.org
Subject cvs commit: logging-log4j/tests/src/java/org/apache/log4j/scheduler PeriodicJob.java
Date Mon, 17 May 2004 08:20:58 GMT
ceki        2004/05/17 01:20:58

  Modified:    tests/src/java/org/apache/log4j/scheduler PeriodicJob.java
  Log:
  Keeping grumpy happy.
  
  Revision  Changes    Path
  1.3       +1 -1      logging-log4j/tests/src/java/org/apache/log4j/scheduler/PeriodicJob.java
  
  Index: PeriodicJob.java
  ===================================================================
  RCS file: /home/cvs/logging-log4j/tests/src/java/org/apache/log4j/scheduler/PeriodicJob.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- PeriodicJob.java	9 May 2004 12:14:56 -0000	1.2
  +++ PeriodicJob.java	17 May 2004 08:20:58 -0000	1.3
  @@ -66,7 +66,7 @@
           (int) ((currentTime - desiredTime) / period);
   
         // allow for 15% error margin
  -      if ((actualExecutionTime.size()*1.15) < expectedNumberOfExecutions) {
  +      if ((actualExecutionTime.size()*1.25) < expectedNumberOfExecutions) {
           throw new IllegalStateException(
             "Too few executions. Was " + actualExecutionTime.size()
             + " expected " + expectedNumberOfExecutions + " period="+period);
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


Mime
View raw message