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

jlmonteiro pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomee-tck.git


The following commit(s) were added to refs/heads/master by this push:
     new 13b69fa  Force task to run with less memory
13b69fa is described below

commit 13b69faeacf832078173d1fd5714cbfcac525c42
Author: Jean-Louis Monteiro <[email protected]>
AuthorDate: Fri Jan 29 14:38:08 2021 +0100

    Force task to run with less memory
---
 src/test/script/openejb/tck/commands/JavaTestCommand.groovy | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/test/script/openejb/tck/commands/JavaTestCommand.groovy 
b/src/test/script/openejb/tck/commands/JavaTestCommand.groovy
index 6187c9b..a48e16e 100644
--- a/src/test/script/openejb/tck/commands/JavaTestCommand.groovy
+++ b/src/test/script/openejb/tck/commands/JavaTestCommand.groovy
@@ -230,6 +230,11 @@ class JavaTestCommand
                 }
 
                 def containerJavaOpts = get('container.java.opts', "")
+
+                // force memory on tasks because with JDK 8 it's computed with 
a bit too much
+                containerJavaOpts += "-Xmx256m"
+
+
                 if (options.contains('security')) {
                     log.info("Enabling server security manager")
 

Reply via email to