You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2021/09/20 02:11:29 UTC
[commons-io] 09/09: Try to fix random GitHub failures.
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-io.git
commit ab4c73db0269881dd0a7497dcb58254221b41791
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun Sep 19 22:11:15 2021 -0400
Try to fix random GitHub failures.
---
src/test/java/org/apache/commons/io/ThreadMonitorTestCase.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/test/java/org/apache/commons/io/ThreadMonitorTestCase.java b/src/test/java/org/apache/commons/io/ThreadMonitorTestCase.java
index bcd35d0..e3aa5a8 100644
--- a/src/test/java/org/apache/commons/io/ThreadMonitorTestCase.java
+++ b/src/test/java/org/apache/commons/io/ThreadMonitorTestCase.java
@@ -36,8 +36,8 @@ public class ThreadMonitorTestCase {
@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);