File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11/*
2- * Copyright (c) 2024, 2025 , Oracle and/or its affiliates. All rights reserved.
2+ * Copyright (c) 2024, 2026 , 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
2828 * @key randomness
2929 * @library /test/lib
3030 *
31- * @build jdk.test.whitebox.WhiteBox
31+ * @build jdk.test.whitebox.WhiteBox jdk.test.lib.Utils
3232 * @run driver jdk.test.lib.helpers.ClassFileInstaller jdk.test.whitebox.WhiteBox
3333 *
3434 * @run testng/othervm/timeout=480
4040 * TestConcurrentClose
4141 */
4242
43+ import jdk .test .lib .Utils ;
4344import jdk .test .whitebox .WhiteBox ;
4445import org .testng .annotations .Test ;
4546
@@ -72,7 +73,7 @@ public class TestConcurrentClose {
7273
7374 static final int ITERATIONS = 5 ;
7475 static final int SEGMENT_SIZE = 10_000 ;
75- static final int MAX_EXECUTOR_WAIT_SECONDS = 60 ;
76+ static final long MAX_EXECUTOR_WAIT_SECONDS = Utils . adjustTimeout ( 60 ) ;
7677 static final int NUM_ACCESSORS = 50 ;
7778
7879 static final AtomicLong start = new AtomicLong ();
You can’t perform that action at this time.
0 commit comments