mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
compiler tests: reduce timeout from 50 minutes to 5 minutes and disable it if debugging is active
GitOrigin-RevId: 0f66a8b589bd3ff6d4af6938322f178445d70c9b
This commit is contained in:
committed by
intellij-monorepo-bot
parent
4a83d646a0
commit
3ef7dcf1d9
@@ -262,7 +262,7 @@ public abstract class BaseCompilerTestCase extends ModuleTestCase {
|
||||
try {
|
||||
final long start = System.currentTimeMillis();
|
||||
while (!semaphore.waitFor(10)) {
|
||||
if (System.currentTimeMillis() - start > 50 * 60 * 1000) {
|
||||
if (!BuildManager.getInstance().isBuildProcessDebuggingEnabled() && System.currentTimeMillis() - start > 5 * 60 * 1000) {
|
||||
throw new RuntimeException("timeout");
|
||||
}
|
||||
if (SwingUtilities.isEventDispatchThread()) {
|
||||
|
||||
Reference in New Issue
Block a user