mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-01-11 00:12:04 -06:00
fix standard activity init with no driver param
This commit is contained in:
parent
95f108c6ea
commit
87aa9d1dec
@ -328,7 +328,7 @@ public class ScenarioController {
|
||||
() -> new RuntimeException("Driver for '" + activityDef + "' was not found." +
|
||||
"\nYou can use --list-drivers to see what drivers are supported in this runtime." +
|
||||
ConfigSuggestions.suggestAlternates(
|
||||
new ActivityTypeLoader().getAllSelectors(),activityDef.getActivityType(),4)
|
||||
new ActivityTypeLoader().getAllSelectors(), activityDef.getActivityType(), 4)
|
||||
.orElse("")
|
||||
)
|
||||
);
|
||||
@ -342,7 +342,11 @@ public class ScenarioController {
|
||||
);
|
||||
activityExecutors.put(activityDef.getAlias(), executor);
|
||||
} else {
|
||||
new StandardActivityType(activityDef);
|
||||
executor = new ActivityExecutor(
|
||||
new StandardActivityType(activityDef).getAssembledActivity(
|
||||
activityDef, getActivityMap()
|
||||
), this.sessionId
|
||||
);
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user