mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
_LastInSuiteTest.testProjectLeak should publish compressed heapdumps
GitOrigin-RevId: a27b6e70ae9196a4888a8bc7a1a9e51f2b310497
This commit is contained in:
committed by
intellij-monorepo-bot
parent
b7eecceba0
commit
4d61d4995b
@@ -284,11 +284,11 @@ fun disposeApplicationAndCheckForLeaks() {
|
||||
LeakHunter.checkNonDefaultProjectLeak()
|
||||
}
|
||||
catch (e: AssertionError) {
|
||||
PlatformTestUtil.captureMemorySnapshot()
|
||||
HeavyPlatformTestCase.publishHeapDump("leakedProjects")
|
||||
throw e
|
||||
}
|
||||
catch (e: Exception) {
|
||||
PlatformTestUtil.captureMemorySnapshot()
|
||||
HeavyPlatformTestCase.publishHeapDump("leakedProjects")
|
||||
throw e
|
||||
}
|
||||
}
|
||||
@@ -302,11 +302,11 @@ fun disposeApplicationAndCheckForLeaks() {
|
||||
Disposer.assertIsEmpty(true)
|
||||
}
|
||||
catch (e: AssertionError) {
|
||||
PlatformTestUtil.captureMemorySnapshot()
|
||||
HeavyPlatformTestCase.publishHeapDump("disposerNonEmpty")
|
||||
throw e
|
||||
}
|
||||
catch (e: Exception) {
|
||||
PlatformTestUtil.captureMemorySnapshot()
|
||||
HeavyPlatformTestCase.publishHeapDump("disposerNonEmpty")
|
||||
throw e
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user