Skip to content
Permalink
Browse files
Prevent Travis build timeout (#141)
- Add output after each test completes, as Travis declares a task hung
if no output is written for 10 minutes, which is longer than the build
and tests take to complete

Authored-by: Donal Evans <doevans@vmware.com>
  • Loading branch information
DonalEvans committed Mar 26, 2021
1 parent c973383 commit 619c44d44045d662386222dc06a6e253dbc6354a
Showing 1 changed file with 6 additions and 1 deletion.
@@ -68,7 +68,12 @@ compileJava {
options.deprecation = true
}

test{ useJUnitPlatform() }
test{
afterTest { desc, result ->
logger.quiet "Executing test ${desc.className}.${desc.name} with result: ${result.resultType}"
}
useJUnitPlatform()
}

task benchmark(type: Test) {
if (project.hasProperty('testJVM') && !testJVM.trim().isEmpty()) {

0 comments on commit 619c44d

Please sign in to comment.