Skip to content

Commit ab4c73d

Browse files
author
Gary Gregory
committed
Try to fix random GitHub failures.
1 parent 84bbc86 commit ab4c73d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/test/java/org/apache/commons/io/ThreadMonitorTestCase.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ public class ThreadMonitorTestCase {
3636
@Test
3737
public void testCompletedWithoutTimeout() {
3838
try {
39-
final Thread monitor = ThreadMonitor.start(Duration.ofMillis(200));
40-
TestUtils.sleep(100);
39+
final Thread monitor = ThreadMonitor.start(Duration.ofMillis(400));
40+
TestUtils.sleep(1);
4141
ThreadMonitor.stop(monitor);
4242
} catch (final InterruptedException e) {
4343
fail("Timed Out", e);

0 commit comments

Comments
 (0)