mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-02-25 18:55:28 -06:00
revert stderr output change for now
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user