mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Prepare heapDump before checking unloaded extensions
GitOrigin-RevId: 3a7cdee8fca854de9a1728806b5bc65c70c2d424
This commit is contained in:
committed by
intellij-monorepo-bot
parent
b4133b1607
commit
23068f3693
@@ -82,6 +82,7 @@ public class _LastInSuiteTest extends TestCase {
|
||||
GCUtil.tryGcSoftlyReachableObjects();
|
||||
System.gc();
|
||||
System.gc();
|
||||
String heapDump = HeavyPlatformTestCase.publishHeapDump("dynamicExtension");
|
||||
|
||||
AtomicBoolean failed = new AtomicBoolean(false);
|
||||
extensions.forEach((ep, references) -> {
|
||||
@@ -104,7 +105,6 @@ public class _LastInSuiteTest extends TestCase {
|
||||
});
|
||||
|
||||
if (failed.get()) {
|
||||
String heapDump = HeavyPlatformTestCase.publishHeapDump("dynamicExtension");
|
||||
fail("Some of dynamic extensions have not been unloaded. See individual tests for details. Heap dump: " + heapDump);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user