Skip to content

Commit

Permalink
[test] Make test less verbose by only displaying FAILED (reactor#1139)
Browse files Browse the repository at this point in the history
The PASSED were displayed in case a test would hang and the CI would
terminate the build without much info. If such situation arises again,
one can always add PASSED back temporarily.

Ideally, gradle/gradle#1096 and/or
gradle/gradle#2476 being fixed would improve
the situation.
  • Loading branch information
simonbasle committed Mar 22, 2018
1 parent 2e9f9e0 commit 8d6112e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -181,9 +181,10 @@ configure(subprojects) { p ->
// common exclusions, no scanning
p.tasks.withType(Test).all {
testLogging {
events "passed", "failed"
events "FAILED"
showExceptions true
exceptionFormat "full"
exceptionFormat "FULL"
stackTraceFilters "ENTRY_POINT"
maxGranularity 3
}
systemProperty("java.awt.headless", "true")
Expand Down

0 comments on commit 8d6112e

Please sign in to comment.