more test fixes post-merge

This commit is contained in:
Jonathan Shook 2023-10-24 00:25:10 -05:00
parent f7e4efc79a
commit d9a83ee788
2 changed files with 5 additions and 5 deletions

View File

@ -29,7 +29,7 @@ public class NBCLIScenarioParserTemplateVarTest {
@Test
public void testMultipleOccurencesOfSameTemplateVar() {
NBCLIOptions opts = new NBCLIOptions(new String[]{ "local/example-scenarios-templatevars" });
NBCLIOptions opts = new NBCLIOptions(new String[]{ "local/example_scenarios_templatevars" });
List<Cmd> cmds = opts.getCommands();
cmds.forEach(System.out::println);
@ -46,7 +46,7 @@ public class NBCLIScenarioParserTemplateVarTest {
@Test
public void testThatCLIOverridesWorkForTemplateVars() {
NBCLIOptions opts = new NBCLIOptions(new String[]{ "local/example-scenarios-templatevars", "tvar1=overridden" });
NBCLIOptions opts = new NBCLIOptions(new String[]{ "local/example_scenarios_templatevars", "tvar1=overridden" });
List<Cmd> cmds = opts.getCommands();
cmds.forEach(System.out::println);
@ -58,7 +58,7 @@ public class NBCLIScenarioParserTemplateVarTest {
@Test
public void testThatAdditionalCLIParamIsAdded() {
NBCLIOptions opts = new NBCLIOptions(new String[]{"local/example-scenarios-templatevars", "tvar3=tval3"});
NBCLIOptions opts = new NBCLIOptions(new String[]{"local/example_scenarios_templatevars", "tvar3=tval3"});
List<Cmd> cmds = opts.getCommands();
cmds.forEach(System.out::println);
assertThat(cmds).hasSize(2);

View File

@ -178,10 +178,10 @@ public class NBCLIScenarioParserTest {
"tags", "block:\"schema.*\"",
"workload", "scenario_test"
));
NBCLIOptions opts1 = new NBCLIOptions(new String[]{"local/example-scenarios", "namedsteps.one", "testparam1=testvalue2"});
NBCLIOptions opts1 = new NBCLIOptions(new String[]{"local/example_scenarios", "namedsteps.one", "testparam1=testvalue2"});
List<Cmd> cmds1 = opts1.getCommands();
assertThat(cmds1.size()).isEqualTo(1);
assertThat(cmds1.get(0).getArg("cycles-test")).isNull();
assertThat(cmds1.get(0).getArg("cycles_test")).isNull();
}
}