handle jgroups.bind_addr set from the maven command line
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@14237 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
parent
d134ddac31
commit
051c192290
|
@ -126,16 +126,14 @@
|
|||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<configuration>
|
||||
<systemProperties>
|
||||
<!-- If you find the testsuite runs very slowly, there
|
||||
may be problems with multicast on the interface
|
||||
JGroups uses by default. You can try to resolve
|
||||
this by uncommenting this property and setting the
|
||||
value to an interface where you know multicast works
|
||||
<property>
|
||||
<name>hibernate.test.validatefailureexpected</name>
|
||||
<value>true</value>
|
||||
</property>
|
||||
<property>
|
||||
<name>jgroups.bind_addr</name>
|
||||
<value>192.168.0.1</value>
|
||||
<value>${jgroups.bind_addr}</value>
|
||||
</property>
|
||||
-->
|
||||
<!-- There are problems with multicast and IPv6 on some
|
||||
OS/JDK combos, so we tell Java to use IPv4. If you
|
||||
have problems with multicast when running the tests
|
||||
|
@ -155,6 +153,13 @@
|
|||
|
||||
<properties>
|
||||
<skipUnitTests>true</skipUnitTests>
|
||||
<!--
|
||||
Following is the default jgroups mcast address. If you find the testsuite runs very slowly, there
|
||||
may be problems with multicast on the interface JGroups uses by default on your machine. You can
|
||||
try to resolve setting 'jgroups.bind_addr' as a system-property to the jvm launching maven and
|
||||
setting the value to an interface where you know multicast works
|
||||
-->
|
||||
<jgroups.bind_addr>127.0.0.1</jgroups.bind_addr>
|
||||
</properties>
|
||||
|
||||
<profiles>
|
||||
|
|
Loading…
Reference in New Issue