mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-01-13 09:22:05 -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);
|
String error = ScenarioErrorHandler.handle(e, false);
|
||||||
// Commented for now, as the above handler should do everything needed.
|
// Commented for now, as the above handler should do everything needed.
|
||||||
if (error != null) {
|
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.err.flush();
|
||||||
System.out.flush();
|
System.out.flush();
|
||||||
|
@ -39,7 +39,7 @@ public class ExitStatusIntegrationTests {
|
|||||||
"badparam"
|
"badparam"
|
||||||
);
|
);
|
||||||
String stderr = result.getStderrData().stream().collect(Collectors.joining("\n"));
|
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);
|
assertThat(result.exitStatus).isEqualTo(2);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user