You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by re...@apache.org on 2007/05/01 10:38:26 UTC

svn commit: r533963 - /cocoon/trunk/core/cocoon-core/src/test/java/org/apache/cocoon/components/source/impl/CachingSourceTestCase.java

Author: reinhard
Date: Tue May  1 01:38:25 2007
New Revision: 533963

URL: http://svn.apache.org/viewvc?view=rev&rev=533963
Log:
with Eclipse this already worked when using an expiry time of 1 sec. 
Maven seems to fail sometimes. Hope that 2 secs improve the situation.

Modified:
    cocoon/trunk/core/cocoon-core/src/test/java/org/apache/cocoon/components/source/impl/CachingSourceTestCase.java

Modified: cocoon/trunk/core/cocoon-core/src/test/java/org/apache/cocoon/components/source/impl/CachingSourceTestCase.java
URL: http://svn.apache.org/viewvc/cocoon/trunk/core/cocoon-core/src/test/java/org/apache/cocoon/components/source/impl/CachingSourceTestCase.java?view=diff&rev=533963&r1=533962&r2=533963
==============================================================================
--- cocoon/trunk/core/cocoon-core/src/test/java/org/apache/cocoon/components/source/impl/CachingSourceTestCase.java (original)
+++ cocoon/trunk/core/cocoon-core/src/test/java/org/apache/cocoon/components/source/impl/CachingSourceTestCase.java Tue May  1 01:38:25 2007
@@ -70,7 +70,7 @@
     }
 
     public void testCachingURI() throws Exception {
-        String uri = "cached:http://slashdot.org/?cocoon:cache-expires=1";
+        String uri = "cached:http://slashdot.org/?cocoon:cache-expires=2";
 
         CachingSource source;
 
@@ -93,7 +93,7 @@
         // Source is still cached -- still same meta data
         assertSame(meta1, meta3);
 
-        Thread.sleep(1100);
+        Thread.sleep(2100);
 
         source = (CachingSource) resolver.resolveURI(uri);
         source.refresh();