Add some config tweaks to pom to help people who have trouble with multicast during testsuite runs

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@14207 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
Brian Stansberry 2007-11-28 21:19:33 +00:00
parent 6807914f13
commit a6729c155b
1 changed files with 25 additions and 0 deletions

View File

@ -85,7 +85,32 @@
<name>hibernate.test.validatefailureexpected</name>
<value>true</value>
</property>
<!-- 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>jgroups.bind_addr</name>
<value>192.168.0.1</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
you can try setting this to 'false', although typically
that won't be helpful.
-->
<property>
<name>java.net.preferIPv4Stack</name>
<value>true</value>
</property>
</systemProperties>
<!-- If all else fails and you cannot get multicast working
properly for the testsuite, uncomment this to disable the
tests.
<skipExec>true</skipExec>
-->
</configuration>
</plugin>
</plugins>