minor fixes on cqld4

This commit is contained in:
Jonathan Shook
2021-12-09 09:59:08 -06:00
parent 725b1473ef
commit 8955920a69
3 changed files with 11 additions and 4 deletions

View File

@@ -228,6 +228,12 @@ public class ScenariosExecutor {
return name;
}
public synchronized void shutdownNow() {
if (!executor.isShutdown()) {
executor.shutdownNow();
}
}
private static class SubmittedScenario {
private final Scenario scenario;
private final Future<ScenarioResult> resultFuture;