[jboss-cvs] JBossAS SVN: r61206 - branches/Branch_4_2/testsuite/src/main/org/jboss/test/testbeancluster/test.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Wed Mar 7 16:17:32 EST 2007


Author: bstansberry at jboss.com
Date: 2007-03-07 16:17:32 -0500 (Wed, 07 Mar 2007)
New Revision: 61206

Modified:
   branches/Branch_4_2/testsuite/src/main/org/jboss/test/testbeancluster/test/RetryInterceptorUnitTestCase.java
Log:
Restore missing autodiscovery TTL

Modified: branches/Branch_4_2/testsuite/src/main/org/jboss/test/testbeancluster/test/RetryInterceptorUnitTestCase.java
===================================================================
--- branches/Branch_4_2/testsuite/src/main/org/jboss/test/testbeancluster/test/RetryInterceptorUnitTestCase.java	2007-03-07 21:00:33 UTC (rev 61205)
+++ branches/Branch_4_2/testsuite/src/main/org/jboss/test/testbeancluster/test/RetryInterceptorUnitTestCase.java	2007-03-07 21:17:32 UTC (rev 61206)
@@ -565,6 +565,9 @@
       Properties env = new Properties();
       env.setProperty(Context.INITIAL_CONTEXT_FACTORY, namingFactoryClass);
       env.setProperty(Context.PROVIDER_URL, urls[0]);
+      // Don't let the discovery packet off the test server so we don't
+      // get spurious responses from other servers on the network
+      env.setProperty("jnp.discoveryTTL", DISCOVERY_TTL);
       
       if (!autoDiscovery)
       {




More information about the jboss-cvs-commits mailing list