Skip to content

Commit 2f1f824

Browse files
author
Stephen Colebourne
committed
Allow one second to avoid test failures
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/io/trunk@383224 13f79535-47bb-0310-9956-ffa450edef68
1 parent 8b2da17 commit 2f1f824

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/test/org/apache/commons/io/filefilter/FileFilterTestCase.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,7 @@ public void testSizeFilter() throws Exception {
524524
}
525525

526526
private void spin(long now) {
527-
while (System.currentTimeMillis() <= now);
527+
while (System.currentTimeMillis() <= now + 1000);
528528
}
529529

530530
}

0 commit comments

Comments
 (0)