PR fixes from comments

This commit is contained in:
Jonathan Shook
2022-12-21 16:47:37 -06:00
parent 301f1e2d27
commit 10080720a5
9 changed files with 26 additions and 92 deletions

View File

@@ -469,15 +469,6 @@ public class NBCLI implements Function<String[], Integer> {
scenario.addScenarioScriptParams(scriptParams);
scenariosExecutor.execute(scenario);
// while (true) {
// Optional<ScenarioResult> pendingResult = executor.getPendingResult(scenario.getScenarioName());
// if (pendingResult.isPresent()) {
// break;
// }
// LockSupport.parkNanos(100000000L);
// }
ScenariosResults scenariosResults = scenariosExecutor.awaitAllResults();
logger.debug("Total of " + scenariosResults.getSize() + " result object returned from ScenariosExecutor");