commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t.@apache.org
Subject svn commit: r1584003 - /commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/auxiliary/disk/file/FileDiskCacheUnitTest.java
Date Wed, 02 Apr 2014 12:38:14 GMT
Author: tv
Date: Wed Apr  2 12:38:14 2014
New Revision: 1584003

URL: http://svn.apache.org/r1584003
Log:
Give the Windows file system some time to remove the file

Modified:
    commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/auxiliary/disk/file/FileDiskCacheUnitTest.java

Modified: commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/auxiliary/disk/file/FileDiskCacheUnitTest.java
URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/auxiliary/disk/file/FileDiskCacheUnitTest.java?rev=1584003&r1=1584002&r2=1584003&view=diff
==============================================================================
--- commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/auxiliary/disk/file/FileDiskCacheUnitTest.java
(original)
+++ commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/auxiliary/disk/file/FileDiskCacheUnitTest.java
Wed Apr  2 12:38:14 2014
@@ -283,7 +283,7 @@ public class FileDiskCacheUnitTest
         {
             diskCache.update( new CacheElement<String, String>( cacheName, "key" +
i, "Data" ) );
         }
-        SleepUtil.sleepAtLeast( 100 );
+        SleepUtil.sleepAtLeast( 500 );
 
         // DO WORK
         ICacheElement<String, String> result = diskCache.get( "key0" );
@@ -364,7 +364,7 @@ public class FileDiskCacheUnitTest
         {
             diskCache.update( new CacheElement<String, String>( cacheName, "key" +
i, "Data" ) );
         }
-        SleepUtil.sleepAtLeast( 100 );
+        SleepUtil.sleepAtLeast( 500 );
 
         for ( int i = maxNumberOfFiles - 1; i >= 0; i-- )
         {



Mime
View raw message