mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-02-25 18:55:28 -06:00
test fixes
This commit is contained in:
parent
3837c66050
commit
71c8493e3f
@ -86,7 +86,7 @@ public class TestNBCLIOptions {
|
||||
assertThat(opts.wantsTopicalHelp()).isFalse();
|
||||
}
|
||||
|
||||
@Test(expected = InvalidParameterException.class)
|
||||
@Test(expected = IllegalArgumentException.class)
|
||||
public void shouldErrorSanelyWhenNoMatch() {
|
||||
NBCLIOptions opts = new NBCLIOptions(new String[]{"unrecognizable command"});
|
||||
}
|
||||
@ -196,7 +196,7 @@ public class TestNBCLIOptions {
|
||||
public void listWorkloads() {
|
||||
NBCLIOptions opts = new NBCLIOptions(new String[]{ "--list-workloads"});
|
||||
List<NBCLIOptions.Cmd> cmds = opts.getCommands();
|
||||
assertThat(opts.wantsWorkloads());
|
||||
assertThat(opts.wantsScenariosList());
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user