This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Ensure full stack traces and heap dumps in tests (#1303)

  • Loading branch information...
seanf committed Sep 27, 2016
1 parent 4bea06c commit 8bf4a9d0858e0415997993ce9bed10ef12b83bd2
Showing with 6 additions and 1 deletion.
  1. +4 −0 functional-test/pom.xml
  2. +2 −1 zanata-war/src/test/resources/arquillian.xml
View
@@ -662,6 +662,8 @@
<properties>
<cargo.jvmargs>
<!-- NB: JDom parser doesn't like comments starting with '-' -->
-XX:-OmitStackTraceInFastThrow
-XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=target
-XX:PermSize=512m -XX:MaxPermSize=1024
-XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled
${cargo.debug.jvm.args}
@@ -677,6 +679,8 @@
<properties>
<cargo.jvmargs>
<!-- NB: JDom parser doesn't like comments starting with '-' -->
-XX:-OmitStackTraceInFastThrow
-XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=target
-XX:PermSize=512m -XX:MaxPermSize=1024
-XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled
${cargo.debug.jvm.args}
@@ -18,7 +18,7 @@
<!--
<property name="javaVmArguments">-Xms1536m -Xmx1536m -XX:MaxPermSize=256m -Dorg.jboss.as.logging.per-deployment=false -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8787</property>
-->
<property name="javaVmArguments">-Dorg.jboss.as.logging.per-deployment=false</property>
<property name="javaVmArguments">-Dorg.jboss.as.logging.per-deployment=false -XX:-OmitStackTraceInFastThrow -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=target</property>
<!-- From JBOSS_HOME/standalone/configuration -->
<property name="serverConfig">standalone-arquillian.xml</property>
<!--<property name="allowConnectingToRunningServer">true</property>-->
@@ -32,6 +32,7 @@
<configuration>
<!--<property name="jbossHome">${wildfly.home}</property>-->
<!-- <property name="javaVmArguments">-Dorg.jboss.as.logging.per-deployment=false</property> -->
<property name="javaVmArguments">-XX:-OmitStackTraceInFastThrow -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=target</property>
<!-- NB: don't put whitespace around the number -->
<property name="managementPort">${jboss.management.http.port,env.JBOSS_MANAGEMENT_HTTP_PORT:10090}</property>
</configuration>

0 comments on commit 8bf4a9d

Please sign in to comment.