mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
try harder to place snapshots in teamcity temp dir
This commit is contained in:
@@ -202,7 +202,9 @@ public class PsiEventsTest extends PsiTestCase {
|
||||
LeakHunter.checkLeak(IdeEventQueue.getInstance(), PsiDirectory.class, isReallyLeak);
|
||||
LeakHunter.checkLeak(LaterInvocator.getLaterInvocatorQueue(), PsiDirectory.class, isReallyLeak);
|
||||
|
||||
String dumpPath = FileUtil.createTempFile(new File(System.getProperty("java.io.tmpdir")), "testRenameFileWithoutDir", ".hprof", false, false).getPath();
|
||||
String dumpPath = FileUtil.createTempFile(
|
||||
new File(System.getProperty("teamcity.build.tempDir", System.getProperty("java.io.tmpdir"))), "testRenameFileWithoutDir", ".hprof",
|
||||
false, false).getPath();
|
||||
MemoryDumpHelper.captureMemoryDump(dumpPath);
|
||||
System.out.println(dumpPath);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user