commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1416650 - /commons/proper/io/trunk/src/test/java/org/apache/commons/io/input/TailerTest.java
Date Mon, 03 Dec 2012 20:09:33 GMT
Author: ggregory
Date: Mon Dec  3 20:09:33 2012
New Revision: 1416650

URL: http://svn.apache.org/viewvc?rev=1416650&view=rev
Log:
Try to avoid random-ish failures.

Modified:
    commons/proper/io/trunk/src/test/java/org/apache/commons/io/input/TailerTest.java

Modified: commons/proper/io/trunk/src/test/java/org/apache/commons/io/input/TailerTest.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/test/java/org/apache/commons/io/input/TailerTest.java?rev=1416650&r1=1416649&r2=1416650&view=diff
==============================================================================
--- commons/proper/io/trunk/src/test/java/org/apache/commons/io/input/TailerTest.java (original)
+++ commons/proper/io/trunk/src/test/java/org/apache/commons/io/input/TailerTest.java Mon
Dec  3 20:09:33 2012
@@ -196,7 +196,7 @@ public class TailerTest extends FileBase
         tailer.stop();
         tailer=null;
         thread.interrupt();
-        Thread.sleep(testDelayMillis);
+        Thread.sleep(testDelayMillis * 4);
         write(file, "Line five");
         assertEquals("4 line count", 0, listener.getLines().size());
         assertNotNull("Missing InterruptedException", listener.exception);



Mime
View raw message