File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
test/jdk/jdk/incubator/concurrent/StructuredTaskScope Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 11/*
2- * Copyright (c) 2021, 2022 , Oracle and/or its affiliates. All rights reserved.
2+ * Copyright (c) 2021, 2023 , Oracle and/or its affiliates. All rights reserved.
33 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44 *
55 * This code is free software; you can redistribute it and/or modify it
@@ -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 ( 100 ));
617+ Thread .sleep (Duration .ofSeconds ( 2 ));
618618 return "foo" ;
619619 });
620620
You can’t perform that action at this time.
0 commit comments