Author: shawkins
Date: 2011-08-26 12:59:18 -0400 (Fri, 26 Aug 2011)
New Revision: 3427
Modified:
trunk/test-integration/common/src/test/java/org/teiid/systemmodel/TestMatViewReplication.java
Log:
TEIID-1673 switching to local host
Modified:
trunk/test-integration/common/src/test/java/org/teiid/systemmodel/TestMatViewReplication.java
===================================================================
---
trunk/test-integration/common/src/test/java/org/teiid/systemmodel/TestMatViewReplication.java 2011-08-26
15:46:08 UTC (rev 3426)
+++
trunk/test-integration/common/src/test/java/org/teiid/systemmodel/TestMatViewReplication.java 2011-08-26
16:59:18 UTC (rev 3427)
@@ -35,6 +35,7 @@
import java.util.logging.Logger;
import org.jgroups.JChannelFactory;
+import org.junit.BeforeClass;
import org.junit.Test;
import org.teiid.core.types.DataTypeManager;
import org.teiid.core.util.UnitTestUtil;
@@ -51,6 +52,10 @@
private static final String MATVIEWS = "matviews";
private static final boolean DEBUG = false;
+ @BeforeClass public static void oneTimeSetup() {
+ System.setProperty("jgroups.bind_addr", "127.0.0.1");
+ }
+
@Test public void testReplication() throws Exception {
if (DEBUG) {
Logger logger = Logger.getLogger("org.teiid");