post-merge fixups part 2

This commit is contained in:
Jonathan Shook 2021-11-04 10:54:49 -05:00
parent 53ab5832e2
commit 422c3bcb6d
7 changed files with 2 additions and 2 deletions

View File

@ -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");
}