mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-02-25 18:55:28 -06:00
Fixed the test for NonExistentDriver
This commit is contained in:
parent
9a17655ea7
commit
34dc3264ec
@ -25,9 +25,10 @@ public class NBCLITest {
|
||||
|
||||
@Test
|
||||
public void testNonExistentDriverThrowsError() {
|
||||
final NBCLI cli = new NBCLI("nb5");
|
||||
assertThatExceptionOfType(BasicError.class)
|
||||
.isThrownBy(() -> new NBCLI("run driver=nonexistent --show-stacktraces"))
|
||||
.withMessageContaining("Unable to load default driver adapter 'nonexistent'");
|
||||
.isThrownBy(() -> cli.applyDirect(new String[] {"run", "driver=nonexistent"}))
|
||||
.withMessageContaining("Unable to load default driver adapter 'nonexistent'");;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user