Make -Dtests.output=always actually work. (#648)

Signed-off-by: dblock <dblock@amazon.com>
This commit is contained in:
Daniel Doubrovkine (dB.) 2021-05-04 19:45:04 -04:00 committed by dblock
parent 8bc0a54d20
commit 4892a389a2
No known key found for this signature in database
GPG Key ID: 75BF031B7C94E183
2 changed files with 2 additions and 1 deletions

View File

@ -219,7 +219,7 @@ Print all the logging output from the test runs to the commandline
even if tests are passing.
------------------------------
./gradlew test -Dtests.output=always
./gradlew test -Dtests.output=true
------------------------------
Configure the heap size.

View File

@ -198,6 +198,7 @@ public class OpenSearchTestBasePlugin implements Plugin<Project> {
logging.setShowExceptions(true);
logging.setShowCauses(true);
logging.setExceptionFormat("full");
logging.setShowStandardStreams(Util.getBooleanProperty("tests.output", false));
});
if (OS.current().equals(OS.WINDOWS) && System.getProperty("tests.timeoutSuite") == null) {