Skip to content

Commit

Permalink
JAXB tests fix (#1463)
Browse files Browse the repository at this point in the history
Tests fix to avoid "Caused by: java.lang.OutOfMemoryError: GC overhead limit exceeded".
This is solution based on resources (Java Heap) increase.

Signed-off-by: Radek Felcman <[email protected]>
  • Loading branch information
rfelcman authored Mar 25, 2022
1 parent f7b659e commit 59ba97e
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions moxy/eclipselink.moxy.test/antbuild.xml
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@
<delete dir="${report.dir}/installer" failonerror="false"/>
<mkdir dir="${report.dir}/installer"/>
<mkdir dir="${build.dir}/${test.dir}"/>
<junit jvm="${test.junit.jvm.exec}" printsummary="yes" fork="true" dir="${build.dir}/${test.dir}" tempdir="${build.dir}/${test.dir}" showoutput="yes" maxmemory="512m">
<junit jvm="${test.junit.jvm.exec}" printsummary="yes" fork="true" dir="${build.dir}/${test.dir}" tempdir="${build.dir}/${test.dir}" showoutput="yes" maxmemory="1024m">
<env key="ECLIPSELINK_UNZIP_DIR" value="${unzip.temp.file}"/>
<batchtest todir="${report.dir}/installer">
<fileset dir="${src.dir}">
Expand Down Expand Up @@ -543,7 +543,7 @@
<!-- Can be set e.g. in test.properties to add VM options for a particular platform/driver -->
<property name="additional.jvmargs" value="-Ddummy2=dummy"/>
<junit jvm="${test.junit.jvm.exec}" failureproperty="junit.failed.jaxb" logfailedtests="true"
printsummary="yes" fork="true" dir="${build.dir}/${test.dir}" tempdir="${build.dir}/${test.dir}" showoutput="yes" maxmemory="512m">
printsummary="yes" fork="true" dir="${build.dir}/${test.dir}" tempdir="${build.dir}/${test.dir}" showoutput="yes" maxmemory="1024m">
<!--<jvmarg value="-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5005"/>-->
<jvmarg value="-ea"/>
<jvmarg value="-javaagent:${jmockit.lib}"/>
Expand Down Expand Up @@ -621,7 +621,7 @@
<!-- Can be set e.g. in test.properties to add VM options for a particular platform/driver -->
<property name="additional.jvmargs" value="-Ddummy2=dummy"/>
<junit jvm="${test.junit.jvm.exec}" failureproperty="junit.failed.jaxb_srg" logfailedtests="true"
printsummary="yes" fork="true" dir="${build.dir}/${test.dir}" tempdir="${build.dir}/${test.dir}" showoutput="yes" maxmemory="512m">
printsummary="yes" fork="true" dir="${build.dir}/${test.dir}" tempdir="${build.dir}/${test.dir}" showoutput="yes" maxmemory="1024m">
<jvmarg value="-ea"/>
<jvmarg line="${additional.jvmargs}"/>
<env key="T_WORK" value="${tmp.dir}"/>
Expand Down Expand Up @@ -658,7 +658,7 @@
<mkdir dir="${report.dir}/srg/oxm/default"/>
<mkdir dir="${build.dir}/${test.dir}"/>
<junit jvm="${test.junit.jvm.exec}" failureproperty="junit.failed.oxm_srg" logfailedtests="true"
printsummary="yes" fork="true" dir="${build.dir}/${test.dir}" tempdir="${build.dir}/${test.dir}" showoutput="yes" maxmemory="512m">
printsummary="yes" fork="true" dir="${build.dir}/${test.dir}" tempdir="${build.dir}/${test.dir}" showoutput="yes" maxmemory="1024m">
<jvmarg value="-ea"/>
<jvmarg line="${additional.jvmargs}"/>
<sysproperty key="useLogging" value="false"/>
Expand Down Expand Up @@ -694,7 +694,7 @@
<mkdir dir="${report.dir}/oxm/default"/>
<mkdir dir="${build.dir}/${test.dir}"/>
<junit jvm="${test.junit.jvm.exec}" failureproperty="junit.failed.oxm" logfailedtests="true"
printsummary="yes" fork="true" dir="${build.dir}/${test.dir}" tempdir="${build.dir}/${test.dir}" showoutput="yes" maxmemory="512m">
printsummary="yes" fork="true" dir="${build.dir}/${test.dir}" tempdir="${build.dir}/${test.dir}" showoutput="yes" maxmemory="1024m">
<jvmarg value="-ea"/>
<jvmarg line="${additional.jvmargs}"/>
<sysproperty key="useLogging" value="false"/>
Expand Down Expand Up @@ -753,7 +753,7 @@
<mkdir dir="${report.dir}/oxm/dom"/>
<mkdir dir="${build.dir}/${test.dir}"/>
<junit jvm="${test.junit.jvm.exec}" failureproperty="junit.failed.oxm_dom" logfailedtests="true"
printsummary="yes" fork="true" dir="${build.dir}/${test.dir}" tempdir="${build.dir}/${test.dir}" showoutput="yes" maxmemory="512m">
printsummary="yes" fork="true" dir="${build.dir}/${test.dir}" tempdir="${build.dir}/${test.dir}" showoutput="yes" maxmemory="1024m">
<jvmarg value="-ea"/>
<jvmarg line="${additional.jvmargs}"/>
<sysproperty key="platformType" value="DOM"/>
Expand Down Expand Up @@ -813,7 +813,7 @@
<mkdir dir="${report.dir}/oxm/deploymentxml"/>
<mkdir dir="${build.dir}/${test.dir}"/>
<junit jvm="${test.junit.jvm.exec}" failureproperty="junit.failed.oxm_deploymentxml" logfailedtests="true"
printsummary="yes" fork="true" dir="${build.dir}/${test.dir}" tempdir="${build.dir}/${test.dir}" showoutput="yes" maxmemory="512m">
printsummary="yes" fork="true" dir="${build.dir}/${test.dir}" tempdir="${build.dir}/${test.dir}" showoutput="yes" maxmemory="1024m">
<jvmarg value="-ea"/>
<jvmarg line="${additional.jvmargs}"/>
<sysproperty key="platformType" value="DOM"/>
Expand Down Expand Up @@ -891,7 +891,7 @@
<mkdir dir="${report.dir}/oxm/deploymentxml-tl"/>
<mkdir dir="${build.dir}/${test.dir}"/>
<junit jvm="${test.junit.jvm.exec}" failureproperty="junit.failed.oxm_deploymentxml_tl" logfailedtests="true"
printsummary="yes" fork="true" dir="${build.dir}/${test.dir}" tempdir="${build.dir}/${test.dir}" showoutput="yes" maxmemory="512m">
printsummary="yes" fork="true" dir="${build.dir}/${test.dir}" tempdir="${build.dir}/${test.dir}" showoutput="yes" maxmemory="1024m">
<jvmarg value="-ea"/>
<jvmarg line="${additional.jvmargs}"/>
<sysproperty key="platformType" value="DOM"/>
Expand Down Expand Up @@ -965,7 +965,7 @@
<mkdir dir="${report.dir}/oxm/docpres"/>
<mkdir dir="${build.dir}/${test.dir}"/>
<junit jvm="${test.junit.jvm.exec}" failureproperty="junit.failed.oxm_docpres" logfailedtests="true"
printsummary="yes" fork="true" dir="${build.dir}/${test.dir}" tempdir="${build.dir}/${test.dir}" showoutput="yes" maxmemory="512m">
printsummary="yes" fork="true" dir="${build.dir}/${test.dir}" tempdir="${build.dir}/${test.dir}" showoutput="yes" maxmemory="1024m">
<jvmarg value="-ea"/>
<jvmarg line="${additional.jvmargs}"/>
<sysproperty key="platformType" value="DOC_PRES"/>
Expand Down Expand Up @@ -1028,7 +1028,7 @@
<mkdir dir="${report.dir}/oxm/nondefault"/>
<mkdir dir="${build.dir}/${test.dir}"/>
<junit jvm="${test.junit.jvm.exec}" failureproperty="junit.failed.oxm_docpres" logfailedtests="true"
printsummary="yes" fork="true" dir="${build.dir}/${test.dir}" tempdir="${build.dir}/${test.dir}" showoutput="yes" maxmemory="512m">
printsummary="yes" fork="true" dir="${build.dir}/${test.dir}" tempdir="${build.dir}/${test.dir}" showoutput="yes" maxmemory="1024m">
<jvmarg value="-ea"/>
<jvmarg line="${additional.jvmargs}"/>
<sysproperty key="useLogging" value="false"/>
Expand Down

0 comments on commit 59ba97e

Please sign in to comment.