GT-0 fixed junit timing issue

This commit is contained in:
ghidravore 2020-03-17 17:45:57 -04:00
parent 0aae460dd4
commit 01539bedd6

View file

@ -86,6 +86,7 @@ public class AnalysisManager {
}
List<AnalysisPhase> analysisPhases = recipe.getAnalysisPhases();
boolean isFirstPhase = true;
taskManager.setSuspended(true);
for (AnalysisPhase analysisPhase : analysisPhases) {
taskManager.scheduleTask(new StartPhaseTask(analysisPhase), 0, analysisPhase.getName());
if (isFirstPhase) {
@ -94,6 +95,7 @@ public class AnalysisManager {
analysisPhase.getName());
}
}
taskManager.setSuspended(false);
}