Skip to content

Commit 63fe8d6

Browse files
committed
Increase thread await timeout
1 parent bbfc47f commit 63fe8d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

httpcore5/src/test/java/org/apache/hc/core5/concurrent/DefaultThreadFactoryTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ void newThread() throws Exception {
4242
final Thread thread = defaultThreadFactory.newThread(lockHeld::countDown);
4343
Assertions.assertNotNull(thread);
4444
thread.start();
45-
Assertions.assertTrue(lockHeld.await(100, TimeUnit.MILLISECONDS));
45+
Assertions.assertTrue(lockHeld.await(15, TimeUnit.SECONDS));
4646
}
4747

4848
}

0 commit comments

Comments
 (0)