You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by on...@apache.org on 2021/03/29 23:55:52 UTC
[geode-benchmarks] branch master updated: Prevent Travis build
timeout
This is an automated email from the ASF dual-hosted git repository.
onichols pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/geode-benchmarks.git
The following commit(s) were added to refs/heads/master by this push:
new c9abd42 Prevent Travis build timeout
c9abd42 is described below
commit c9abd42df602630708e05c40f63593fd5654cdc2
Author: Donal Evans <do...@vmware.com>
AuthorDate: Wed Mar 3 12:16:48 2021 -0800
Prevent Travis build timeout
- 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>
(cherry picked from commit 8b0ef98915f854db8b68a4abc2d31dffc293269f)
---
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()) {