GT-0 fixed junit timing issue

This commit is contained in:
ghidravore
2020-03-17 17:45:57 -04:00
parent 0aae460dd4
commit 01539bedd6
@@ -86,6 +86,7 @@ public class AnalysisManager {
} }
List<AnalysisPhase> analysisPhases = recipe.getAnalysisPhases(); List<AnalysisPhase> analysisPhases = recipe.getAnalysisPhases();
boolean isFirstPhase = true; boolean isFirstPhase = true;
taskManager.setSuspended(true);
for (AnalysisPhase analysisPhase : analysisPhases) { for (AnalysisPhase analysisPhase : analysisPhases) {
taskManager.scheduleTask(new StartPhaseTask(analysisPhase), 0, analysisPhase.getName()); taskManager.scheduleTask(new StartPhaseTask(analysisPhase), 0, analysisPhase.getName());
if (isFirstPhase) { if (isFirstPhase) {
@@ -94,6 +95,7 @@ public class AnalysisManager {
analysisPhase.getName()); analysisPhase.getName());
} }
} }
taskManager.setSuspended(false);
} }