You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuweni.apache.org by to...@apache.org on 2020/04/27 07:43:12 UTC

[incubator-tuweni] branch master updated: Add timeout for unit tests, no more than 30 minutes

This is an automated email from the ASF dual-hosted git repository.

toulmean pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-tuweni.git


The following commit(s) were added to refs/heads/master by this push:
     new fb9f1fb  Add timeout for unit tests, no more than 30 minutes
fb9f1fb is described below

commit fb9f1fbb85a95ec4c822e3d8d37bd7ec10c6fd01
Author: Antoine Toulme <an...@lunar-ocean.com>
AuthorDate: Mon Apr 27 00:42:57 2020 -0700

    Add timeout for unit tests, no more than 30 minutes
---
 build.gradle | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/build.gradle b/build.gradle
index a3e6b04..ad83120 100644
--- a/build.gradle
+++ b/build.gradle
@@ -260,7 +260,10 @@ allprojects {
   //////
   // Use JUnit5 for testing
 
-  test { useJUnitPlatform() { includeEngines 'spek', 'junit-jupiter' } }
+  test {
+    useJUnitPlatform() { includeEngines 'spek', 'junit-jupiter' }
+    timeout = Duration.ofMinutes(30)
+  }
 
 
   //////


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@tuweni.apache.org
For additional commands, e-mail: commits-help@tuweni.apache.org