HHH-12762 No longer needing to use port-offset in WildFly integration tests

This commit is contained in:
Sanne Grinovero 2018-07-03 11:21:43 +01:00
parent 1763bfb51f
commit e15a9080ea
4 changed files with 0 additions and 10 deletions

View File

@ -222,8 +222,6 @@ test.dependsOn ':hibernate-orm-modules:prepareWildFlyForTests'
test { test {
systemProperty 'file.encoding', 'utf-8' systemProperty 'file.encoding', 'utf-8'
//Set the port-offset to match the offset in arquillian.xml
systemProperty 'jboss.socket.binding.port-offset', '137'
beforeTest { descriptor -> beforeTest { descriptor ->
//println "Starting test: " + descriptor //println "Starting test: " + descriptor
} }

View File

@ -26,12 +26,10 @@
<!-- For Remote debugging of Wildfly add the following line to the 'javaVmArguments' section below: --> <!-- For Remote debugging of Wildfly add the following line to the 'javaVmArguments' section below: -->
<!-- -Xrunjdwp:transport=dt_socket,address=5005,server=y,suspend=y--> <!-- -Xrunjdwp:transport=dt_socket,address=5005,server=y,suspend=y-->
<!-- DO NOT add comments within the property section below as the Arquillian parser can't deal with it --> <!-- DO NOT add comments within the property section below as the Arquillian parser can't deal with it -->
<!-- The port offset is defined to avoid classhing with NVidia drivers on Windows -->
<property name="javaVmArguments"> <property name="javaVmArguments">
-Dee8.preview.mode=true -Dee8.preview.mode=true
-Djava.net.preferIPv4Stack=true -Djava.net.preferIPv4Stack=true
-Djgroups.bind_addr=127.0.0.1 -Djgroups.bind_addr=127.0.0.1
-Djboss.socket.binding.port-offset=137
</property> </property>
</configuration> </configuration>
</container> </container>

View File

@ -156,7 +156,3 @@ processTestResources {
) )
} }
test {
//Set the port-offset to match the offset in arquillian.xml
systemProperties['jboss.socket.binding.port-offset'] = 137
}

View File

@ -26,12 +26,10 @@
<!-- For Remote debugging of Wildfly add the following line to the 'javaVmArguments' section below: --> <!-- For Remote debugging of Wildfly add the following line to the 'javaVmArguments' section below: -->
<!-- -Xrunjdwp:transport=dt_socket,address=5005,server=y,suspend=y--> <!-- -Xrunjdwp:transport=dt_socket,address=5005,server=y,suspend=y-->
<!-- DO NOT add comments within the property section below as the Arquillian parser can't deal with it --> <!-- DO NOT add comments within the property section below as the Arquillian parser can't deal with it -->
<!-- The port offset is defined to avoid classhing with NVidia drivers on Windows -->
<property name="javaVmArguments"> <property name="javaVmArguments">
-Dee8.preview.mode=true -Dee8.preview.mode=true
-Djava.net.preferIPv4Stack=true -Djava.net.preferIPv4Stack=true
-Djgroups.bind_addr=127.0.0.1 -Djgroups.bind_addr=127.0.0.1
-Djboss.socket.binding.port-offset=137
</property> </property>
</configuration> </configuration>
</container> </container>