mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-03 17:59:46 +02:00
Merge remote-tracking branch 'origin/GP-0-dragonmacher-test-fixes-5-22-25'
This commit is contained in:
commit
cd30a59a1c
1 changed files with 5 additions and 6 deletions
|
@ -16,12 +16,10 @@
|
|||
package generic.test;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.concurrent.TimeUnit;
|
||||
|
||||
import org.junit.runners.model.Statement;
|
||||
|
||||
import ghidra.util.Msg;
|
||||
import ghidra.util.SystemUtilities;
|
||||
import ghidra.util.timer.GTimer;
|
||||
import ghidra.util.timer.GTimerMonitor;
|
||||
import junit.framework.AssertionFailedError;
|
||||
|
@ -204,10 +202,11 @@ public class ConcurrentTestExceptionStatement extends Statement {
|
|||
return;
|
||||
}
|
||||
|
||||
if (SystemUtilities.isInDevelopmentMode()) {
|
||||
throw new AssertionFailedError("Test timeout after " +
|
||||
TimeUnit.MINUTES.convert(TIMEOUT_MILLIS, TimeUnit.MILLISECONDS) + " mins");
|
||||
}
|
||||
// Not sure why we were doing this before
|
||||
// if (SystemUtilities.isInDevelopmentMode()) {
|
||||
// throw new AssertionFailedError("Test timeout after " +
|
||||
// TimeUnit.MINUTES.convert(TIMEOUT_MILLIS, TimeUnit.MILLISECONDS) + " mins");
|
||||
// }
|
||||
|
||||
String vmTrace = AbstractGenericTest.createStackTraceForAllThreads();
|
||||
Msg.error(ConcurrentTestExceptionStatement.class,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue