commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ohe...@apache.org
Subject svn commit: r895224 - /commons/proper/configuration/trunk/src/test/org/apache/commons/configuration/TestVFSConfigurationBuilder.java
Date Sat, 02 Jan 2010 16:34:26 GMT
Author: oheger
Date: Sat Jan  2 16:34:26 2010
New Revision: 895224

URL: http://svn.apache.org/viewvc?rev=895224&view=rev
Log:
Added a sleep to make reload test more robust.

Modified:
    commons/proper/configuration/trunk/src/test/org/apache/commons/configuration/TestVFSConfigurationBuilder.java

Modified: commons/proper/configuration/trunk/src/test/org/apache/commons/configuration/TestVFSConfigurationBuilder.java
URL: http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/test/org/apache/commons/configuration/TestVFSConfigurationBuilder.java?rev=895224&r1=895223&r2=895224&view=diff
==============================================================================
--- commons/proper/configuration/trunk/src/test/org/apache/commons/configuration/TestVFSConfigurationBuilder.java
(original)
+++ commons/proper/configuration/trunk/src/test/org/apache/commons/configuration/TestVFSConfigurationBuilder.java
Sat Jan  2 16:34:26 2010
@@ -17,15 +17,15 @@
 package org.apache.commons.configuration;
 
 import java.io.File;
+import java.io.FileReader;
+import java.io.FileWriter;
 import java.io.IOException;
 import java.io.Reader;
-import java.io.FileReader;
 import java.io.Writer;
-import java.io.FileWriter;
 import java.util.Collection;
-import java.util.Set;
-import java.util.List;
 import java.util.Iterator;
+import java.util.List;
+import java.util.Set;
 
 import junit.framework.TestCase;
 
@@ -1011,6 +1011,7 @@
         CombinedConfiguration config = factory.getConfiguration(true);
         assertNotNull(config);
         verify("1001", config, 15);
+        Thread.sleep(1100);
         XMLConfiguration x = new XMLConfiguration(output);
         x.setProperty("rowsPerPage", "50");
         x.save();



Mime
View raw message