Skip to content

Commit c448c97

Browse files
committed
8301736: jdk/incubator/concurrent/StructuredTaskScope/StructuredTaskScopeTest.java fail with -Xcomp
1 parent d52a156 commit c448c97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/jdk/jdk/incubator/concurrent/StructuredTaskScope/StructuredTaskScopeTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -614,7 +614,7 @@ public void testJoinUntil4(ThreadFactory factory) throws Exception {
614614
public void testInterruptJoinUntil1(ThreadFactory factory) throws Exception {
615615
try (var scope = new StructuredTaskScope(null, factory)) {
616616
Future<String> future = scope.fork(() -> {
617-
Thread.sleep(Duration.ofMillis(1000));
617+
Thread.sleep(Duration.ofSeconds(2));
618618
return "foo";
619619
});
620620

0 commit comments

Comments
 (0)