You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by ol...@apache.org on 2024/06/29 12:46:34 UTC
(httpcomponents-core) branch 5.2.x updated: Increase thread await timeout
This is an automated email from the ASF dual-hosted git repository.
olegk pushed a commit to branch 5.2.x
in repository https://gitbox.apache.org/repos/asf/httpcomponents-core.git
The following commit(s) were added to refs/heads/5.2.x by this push:
new 8d504008c Increase thread await timeout
8d504008c is described below
commit 8d504008ccdfa9ba95e248ba7c937f5045f4555e
Author: Oleg Kalnichevski <ol...@apache.org>
AuthorDate: Sat Jun 29 14:39:07 2024 +0200
Increase thread await timeout
---
.../java/org/apache/hc/core5/concurrent/DefaultThreadFactoryTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/httpcore5/src/test/java/org/apache/hc/core5/concurrent/DefaultThreadFactoryTest.java b/httpcore5/src/test/java/org/apache/hc/core5/concurrent/DefaultThreadFactoryTest.java
index 7ffc392f4..c6a86cf04 100644
--- a/httpcore5/src/test/java/org/apache/hc/core5/concurrent/DefaultThreadFactoryTest.java
+++ b/httpcore5/src/test/java/org/apache/hc/core5/concurrent/DefaultThreadFactoryTest.java
@@ -42,7 +42,7 @@ public class DefaultThreadFactoryTest {
final Thread thread = defaultThreadFactory.newThread(lockHeld::countDown);
Assertions.assertNotNull(thread);
thread.start();
- Assertions.assertTrue(lockHeld.await(100, TimeUnit.MILLISECONDS));
+ Assertions.assertTrue(lockHeld.await(15, TimeUnit.SECONDS));
}
}
\ No newline at end of file