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-- )
{