geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject cvs commit: incubator-geronimo/modules/common/src/test/org/apache/geronimo/common/task URLMonitorTaskTest.java
Date Fri, 12 Sep 2003 15:34:46 GMT
jdillon     2003/09/12 08:34:46

  Modified:    modules/common/src/test/org/apache/geronimo/common/task
                        URLMonitorTaskTest.java
  Log:
   o Applied patch GERONIMO-81
  
  Revision  Changes    Path
  1.3       +4 -2      incubator-geronimo/modules/common/src/test/org/apache/geronimo/common/task/URLMonitorTaskTest.java
  
  Index: URLMonitorTaskTest.java
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/modules/common/src/test/org/apache/geronimo/common/task/URLMonitorTaskTest.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- URLMonitorTaskTest.java	1 Sep 2003 15:22:24 -0000	1.2
  +++ URLMonitorTaskTest.java	12 Sep 2003 15:34:46 -0000	1.3
  @@ -142,7 +142,9 @@
           
           // Schedule the timer now
           Timer timer = new Timer();
  -        timer.schedule(urlMonitorTask, 0);
  +	
  +	// Use a value >=0 to avoid race conditions
  +        timer.schedule(urlMonitorTask, 20);
           
           // Change the last modified and get the last modified from the file,
           // since it might be truncated while setting
  
  
  

Mime
View raw message