Make -Dtests.output=always actually work. (#648)
Signed-off-by: dblock <dblock@amazon.com>
This commit is contained in:
parent
8bc0a54d20
commit
4892a389a2
|
@ -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.
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue