mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2024-12-25 08:11:06 -06:00
revert stderr output change for now
This commit is contained in:
parent
2a7a0e5183
commit
55ef39e2a5
@ -72,7 +72,7 @@ public class NBCLI {
|
||||
String error = ScenarioErrorHandler.handle(e, false);
|
||||
// Commented for now, as the above handler should do everything needed.
|
||||
if (error != null) {
|
||||
System.err.println("Scenario stopped due to error above.");
|
||||
System.err.println("Scenario stopped due to error. See logs for details.");
|
||||
}
|
||||
System.err.flush();
|
||||
System.out.flush();
|
||||
|
@ -39,7 +39,7 @@ public class ExitStatusIntegrationTests {
|
||||
"badparam"
|
||||
);
|
||||
String stderr = result.getStderrData().stream().collect(Collectors.joining("\n"));
|
||||
assertThat(stderr).contains("unrecognized option:badparam");
|
||||
assertThat(stderr).contains("Scenario stopped due to error");
|
||||
assertThat(result.exitStatus).isEqualTo(2);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user