mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2024-11-23 09:16:37 -06:00
post-merge fixups part 2
This commit is contained in:
parent
53ab5832e2
commit
422c3bcb6d
@ -82,13 +82,13 @@ public class NBCLIScenarioParserTest {
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testThatTemplatesAreExpandedOverride() {
|
||||
public void testThatTemplateParamsAreExpandedAndRemovedOverride() {
|
||||
NBCLIOptions opts = new NBCLIOptions(new String[]{ "scenario-test", "template-test", "cycles-test=20"});
|
||||
List<Cmd> cmds = opts.getCommands();
|
||||
assertThat(cmds.size()).isEqualTo(1);
|
||||
assertThat(cmds.get(0).getArg("driver")).isEqualTo("stdout");
|
||||
assertThat(cmds.get(0).getArg("cycles")).isEqualTo("20");
|
||||
assertThat(cmds.get(0).getArg("cycles-test")).isEqualTo("20");
|
||||
assertThat(cmds.get(0).getArg("cycles-test")).isNull();
|
||||
assertThat(cmds.get(0).getArg("workload")).isEqualTo("scenario-test");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user