Try to fix random GitHub failures.
MODIFY
src/test/java/org/apache/commons/io/ThreadMonitorTestCase.java
src/test/java/org/apache/commons/io/ThreadMonitorTestCase.java
@Test
public void testCompletedWithoutTimeout() {
try {
- final Thread monitor = ThreadMonitor.start(Duration.ofMillis(200));
- TestUtils.sleep(100);
+ final Thread monitor = ThreadMonitor.start(Duration.ofMillis(400));
+ TestUtils.sleep(1);
ThreadMonitor.stop(monitor);
} catch (final InterruptedException e) {
fail("Timed Out", e);

Try to fix random GitHub failures.