<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<arquillian xmlns="http://jboss.org/schema/arquillian"
            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
            xsi:schemaLocation="http://jboss.org/schema/arquillian http://jboss.org/schema/arquillian/arquillian_1_0.xsd">

  <container qualifier="jboss" default="true">
    <configuration>
      <property name="jbossHome">target/wildfly-${version.org.wildfly}</property>
      <property name="javaVmArguments">-Xms512m -Xmx1024m -XX:MaxPermSize=512m</property>
    </configuration>
  </container>

</arquillian>

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<arquillian xmlns="http://jboss.org/schema/arquillian"
            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
            xsi:schemaLocation="http://jboss.org/schema/arquillian http://jboss.org/schema/arquillian/arquillian_1_0.xsd">

  <container qualifier="wildfly-managed" default="true">
    <configuration>
      <property name="jbossHome">target/wildfly-${version.org.wildfly}</property>
      <!-- Port offset allows running the tests while a WildFly server is already running -->
      <property name="javaVmArguments">-Djboss.socket.binding.port-offset=10000 -Xms512m -Xmx1024m -XX:MaxPermSize=512m</property>
      <property name="managementPort">19990</property>
    </configuration>
  </container>

</arquillian>

Use port offset to allow running the tests while a WildFly server is already running
Use port offset to allow running the tests while a WildFly server is already running
