You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by do...@apache.org on 2021/03/26 00:09:25 UTC
[geode-benchmarks] branch support/1.14 updated: Prevent Travis
build timeout (#141)
This is an automated email from the ASF dual-hosted git repository.
donalevans pushed a commit to branch support/1.14
in repository https://gitbox.apache.org/repos/asf/geode-benchmarks.git
The following commit(s) were added to refs/heads/support/1.14 by this push:
new 619c44d Prevent Travis build timeout (#141)
619c44d is described below
commit 619c44d44045d662386222dc06a6e253dbc6354a
Author: Donal Evans <do...@vmware.com>
AuthorDate: Thu Mar 25 17:09:15 2021 -0700
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 <do...@vmware.com>
---
geode-benchmarks/build.gradle | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/geode-benchmarks/build.gradle b/geode-benchmarks/build.gradle
index b35b7ef..40da54d 100644
--- a/geode-benchmarks/build.gradle
+++ b/geode-benchmarks/build.gradle
@@ -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()) {