integration test fixes

This commit is contained in:
Jonathan Shook 2023-08-30 01:24:47 -05:00
parent 8062e5b3ac
commit 6bfd9e3171
2 changed files with 4 additions and 4 deletions

View File

@ -107,7 +107,7 @@ public class NBCLIScenarioParserTest {
"cycles", "20",
"cycles-test", "20",
"driver", "stdout",
"labels","workload:scenario_test",
"labels","workload:$scenario_test",
"workload", "scenario-test"
));
}
@ -121,7 +121,7 @@ public class NBCLIScenarioParserTest {
"alias", "schema",
"cycles-test", "20",
"driver", "stdout",
"labels","workload:scenario_test",
"labels","workload:$scenario_test",
"tags", "block:\"schema.*\"",
"workload", "scenario-test"
));
@ -172,7 +172,7 @@ public class NBCLIScenarioParserTest {
"alias", "schema",
"cycles-test", "20",
"driver", "stdout",
"labels","workload:scenario_test",
"labels","workload:$scenario_test",
"tags", "block:\"schema.*\"",
"workload", "scenario-test"
));

View File

@ -63,7 +63,7 @@ public class SystemIdTest {
@Test
public void testGenSessionCode() {
String sessionCode=SystemId.genSessionCode(234L);
assertThat(sessionCode).matches("[0-9a-zA-Z~-]+_[0-9a-zA-Z~-]+");
assertThat(sessionCode).matches("[0-9a-zA-Z~-]+");
logger.info("session code: " + sessionCode);
}