mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-02-25 18:55:28 -06:00
adapters ("drivers") can be specified per op template within a workload
This commit is contained in:
@@ -51,7 +51,7 @@ public class ScriptExampleTests {
|
||||
paramsMap.put(params[i], params[i + 1]);
|
||||
}
|
||||
String scenarioName = "scenario " + scriptname;
|
||||
System.out.println("=".repeat(29) + " Running ASYNC integration test for: " + scenarioName);
|
||||
System.out.println("=".repeat(29) + " Running integration test for example scenario: " + scenarioName);
|
||||
ScenariosExecutor executor = new ScenariosExecutor(ScriptExampleTests.class.getSimpleName() + ":" + scriptname, 1);
|
||||
Scenario s = new Scenario(scenarioName, Scenario.Engine.Graalvm,"stdout:300", Maturity.Any);
|
||||
|
||||
@@ -236,7 +236,7 @@ public class ScriptExampleTests {
|
||||
public void testExceptionPropagationFromActivityInit() {
|
||||
ScenarioResult scenarioResult = runScenario("activityiniterror");
|
||||
assertThat(scenarioResult.getException()).isPresent();
|
||||
assertThat(scenarioResult.getException().get().getMessage()).contains("Unknown config parameter 'unknown_config'");
|
||||
assertThat(scenarioResult.getException().get().getMessage()).contains("Unable to convert end cycle from invalid");
|
||||
assertThat(scenarioResult.getException()).isNotNull();
|
||||
}
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
activitydef1 = {
|
||||
"alias" : "erroring_activity_init",
|
||||
"driver" : "diag",
|
||||
"cycles" : "0..1500000",
|
||||
"cycles" : "invalid",
|
||||
"threads" : "1",
|
||||
"targetrate" : "500",
|
||||
"unknown_config" : "unparsable",
|
||||
|
||||
Reference in New Issue
Block a user