Skip to content

Commit

Permalink
8234593: Mark LeakTest.testGarbageCollectability as unstable
Browse files Browse the repository at this point in the history
Reviewed-by: kcr
  • Loading branch information
arun-joseph authored and kevinrushforth committed Nov 21, 2019
1 parent 5a39824 commit 4d3c723
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
import org.w3c.dom.Element;
import org.w3c.dom.NodeList;
import static org.junit.Assert.*;
import static org.junit.Assume.assumeTrue;

public class LeakTest extends TestBase {

Expand Down Expand Up @@ -81,6 +82,8 @@ public class LeakTest extends TestBase {
}

@Test public void testGarbageCollectability() throws InterruptedException {
assumeTrue(Boolean.getBoolean("unstable.test")); // JDK-8234540

final BlockingQueue<WeakReference<WebPage>> webPageRefQueue =
new LinkedBlockingQueue<WeakReference<WebPage>>();
submit(() -> {
Expand Down

0 comments on commit 4d3c723

Please sign in to comment.