Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
8268566: java/foreign/TestResourceScope.java timed out
Reviewed-by: jvernee
  • Loading branch information
mcimadamore committed Jul 1, 2021
1 parent 6c76e77 commit e3773977cfdcd691a5664a4715328f8552e319e7
Showing 1 changed file with 1 addition and 5 deletions.
@@ -46,7 +46,7 @@

public class TestResourceScope {

final static int N_THREADS = 10000;
final static int N_THREADS = 100;

@Test(dataProvider = "cleaners")
public void testConfined(Supplier<Cleaner> cleanerSupplier) {
@@ -206,10 +206,6 @@ public void testLockSharedMultiThread(Supplier<Cleaner> cleanerSupplier) {
}).start();
}

while (lockCount.get() == 0) {
waitSomeTime(); // make sure some thread gets scheduled
}

while (true) {
try {
scope.close();

1 comment on commit e377397

@openjdk-notifier
Copy link

@openjdk-notifier openjdk-notifier bot commented on e377397 Jul 1, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.