We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d52a156 commit c448c97Copy full SHA for c448c97
test/jdk/jdk/incubator/concurrent/StructuredTaskScope/StructuredTaskScopeTest.java
@@ -614,7 +614,7 @@ public void testJoinUntil4(ThreadFactory factory) throws Exception {
614
public void testInterruptJoinUntil1(ThreadFactory factory) throws Exception {
615
try (var scope = new StructuredTaskScope(null, factory)) {
616
Future<String> future = scope.fork(() -> {
617
- Thread.sleep(Duration.ofMillis(1000));
+ Thread.sleep(Duration.ofSeconds(2));
618
return "foo";
619
});
620
0 commit comments