Author: steve.ebersole(a)jboss.com
Date: 2010-06-30 14:30:10 -0400 (Wed, 30 Jun 2010)
New Revision: 19879
Modified:
core/branches/gradle2/build.gradle
core/branches/gradle2/hibernate-infinispan/hibernate-infinispan.gradle
core/branches/gradle2/hibernate-jbosscache/hibernate-jbosscache.gradle
Log:
attempt to set jgroups bind address
Modified: core/branches/gradle2/build.gradle
===================================================================
--- core/branches/gradle2/build.gradle 2010-06-30 17:30:35 UTC (rev 19878)
+++ core/branches/gradle2/build.gradle 2010-06-30 18:30:10 UTC (rev 19879)
@@ -22,6 +22,10 @@
}
apply plugin: 'org.gradle.idea'
+
+// could not get this to work :(
+// // for tests in infinispan and jbosscache modules (override with -P to command
line)
+// jgroupsBindAddress = '127.0.0.1'
}
apply plugin: org.hibernate.gradle.testing.database.DatabaseMatrixPlugin
@@ -33,6 +37,7 @@
javaVersion = "1.5"
}
+
// build a map of the dependency artifacts to use. Allows centralized definition of the
version of artifacts to
// use. In that respect it serves a role similar to <dependencyManagement> in
Maven
slf4jVersion = '1.5.8'
Modified: core/branches/gradle2/hibernate-infinispan/hibernate-infinispan.gradle
===================================================================
--- core/branches/gradle2/hibernate-infinispan/hibernate-infinispan.gradle 2010-06-30
17:30:35 UTC (rev 19878)
+++ core/branches/gradle2/hibernate-infinispan/hibernate-infinispan.gradle 2010-06-30
18:30:10 UTC (rev 19879)
@@ -54,9 +54,9 @@
environment['jgroups.ping.timeout'] = 500
environment['jgroups.ping.num_initial_members'] = 1
environment['jgroups.udp.enable_bundling'] = false
+// environment['jgroups.bind_addr'] = $jgroupsBindAddress
// quite a few failures and the old maven module disabled these tests as well
enabled = false
}
-// todo : need to account for groups.bind_addr
Modified: core/branches/gradle2/hibernate-jbosscache/hibernate-jbosscache.gradle
===================================================================
--- core/branches/gradle2/hibernate-jbosscache/hibernate-jbosscache.gradle 2010-06-30
17:30:35 UTC (rev 19878)
+++ core/branches/gradle2/hibernate-jbosscache/hibernate-jbosscache.gradle 2010-06-30
18:30:10 UTC (rev 19879)
@@ -1,12 +1,19 @@
dependencies {
compile ( project( ':hibernate-core' ) )
compile( [group: 'org.jboss.cache', name: 'jbosscache-core', version:
'3.2.1.GA'] )
-// testCompile( project(':hibernate-core').sourceSets.testing.classes )
+ testCompile( project(':hibernate-core').sourceSets.matrix.classes )
testCompile( libraries.jta )
testCompile( [group: 'jgroups', name: 'jgroups', version:
'2.6.13.GA'] )
testRuntime( libraries.javassist )
}
-// todo : need to account for skipUnitTests from pom.xml
-// todo : need to account for groups.bind_addr from pom.xml
-// todo : need to account for surefire system-properties from pom.xml
+test {
+ environment['java.net.preferIPv4Stack'] = true
+ environment['jgroups.ping.timeout'] = 500
+ environment['jgroups.ping.num_initial_members'] = 1
+ environment['jgroups.udp.enable_bundling'] = false
+// environment['jgroups.bind_addr'] = $jgroupsBindAddress
+ // quite a few failures and the old maven module disabled these tests as well
+ enabled = false
+}
+
Show replies by date