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:31 UTC
[geode-benchmarks] branch support/1.13 updated: Prevent Travis
build timeout (#144)
This is an automated email from the ASF dual-hosted git repository.
donalevans pushed a commit to branch support/1.13
in repository https://gitbox.apache.org/repos/asf/geode-benchmarks.git
The following commit(s) were added to refs/heads/support/1.13 by this push:
new 52d16eb Prevent Travis build timeout (#144)
52d16eb is described below
commit 52d16ebab377a0fc3d3cd21f056cf104ead55884
Author: Donal Evans <do...@vmware.com>
AuthorDate: Thu Mar 25 17:09:22 2021 -0700
Prevent Travis build timeout (#144)
- 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 4078ada..ecb5fdf 100644
--- a/geode-benchmarks/build.gradle
+++ b/geode-benchmarks/build.gradle
@@ -51,7 +51,12 @@ dependencies {
testImplementation(group: 'org.assertj', name: 'assertj-core', version: project.'assertj-core.version')
}
-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()) {