mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2024-12-26 08:41:05 -06:00
fix broken test
This commit is contained in:
parent
ce6fc359c5
commit
886eda126c
@ -155,7 +155,7 @@ public class AsyncScriptIntegrationTests {
|
||||
public void testScriptParamsVariable() {
|
||||
ScenarioResult scenarioResult = runScenario("params_variable", "one", "two", "three", "four");
|
||||
assertThat(scenarioResult.getIOLog()).contains("params[\"one\"]='two'");
|
||||
assertThat(scenarioResult.getIOLog()).contains("params.[\"three\"]='four'");
|
||||
assertThat(scenarioResult.getIOLog()).contains("params[\"three\"]='four'");
|
||||
assertThat(scenarioResult.getIOLog()).contains("overridden[\"three\"] [overridden-three-five]='five'");
|
||||
assertThat(scenarioResult.getIOLog()).contains("defaulted.get[\"four\"] [defaulted-four-niner]='niner'");
|
||||
}
|
||||
|
@ -11,7 +11,7 @@
|
||||
// Called with one=two three=four
|
||||
|
||||
print('params["one"]=\'' + params["one"] + "'");
|
||||
print('params.["three"]=\'' + params["three"] + "'");
|
||||
print('params["three"]=\'' + params["three"] + "'");
|
||||
|
||||
var overrides = {
|
||||
'three': "five"
|
||||
|
Loading…
Reference in New Issue
Block a user