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

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Wed Mar 26 17:01:25 EDT 2008


Author: bstansberry at jboss.com
Date: 2008-03-26 17:01:25 -0400 (Wed, 26 Mar 2008)
New Revision: 71322

Modified:
   branches/JBPAPP_4_2_0_GA_CP/testsuite/src/main/org/jboss/test/testbeancluster/test/RetryInterceptorUnitTestCase.java
Log:
[JBPAPP-715] Add missing line ends; use correct tmpdir

Modified: branches/JBPAPP_4_2_0_GA_CP/testsuite/src/main/org/jboss/test/testbeancluster/test/RetryInterceptorUnitTestCase.java
===================================================================
--- branches/JBPAPP_4_2_0_GA_CP/testsuite/src/main/org/jboss/test/testbeancluster/test/RetryInterceptorUnitTestCase.java	2008-03-26 21:00:42 UTC (rev 71321)
+++ branches/JBPAPP_4_2_0_GA_CP/testsuite/src/main/org/jboss/test/testbeancluster/test/RetryInterceptorUnitTestCase.java	2008-03-26 21:01:25 UTC (rev 71322)
@@ -497,7 +497,7 @@
       // on the network. When the RetryCaller runs, it will create a 
       // special classloader that will pick up this file
       if (customJndiDir == null)
-         customJndiDir = new File(System.getProperty("java.io.tempdir"), 
+         customJndiDir = new File(System.getProperty("java.io.tmpdir"), 
                                   "retry-int-test");
       if (!customJndiDir.exists())
          customJndiDir.mkdir();
@@ -508,16 +508,17 @@
       if (DISCOVERY_GROUP != null && "".equals(DISCOVERY_GROUP) == false)
       {
          // The server isn't listening on the std multicast address
-         writer.write("jnp.discoveryGroup=" + DISCOVERY_GROUP);
+         writer.write("jnp.discoveryGroup=" + DISCOVERY_GROUP + "\n");
       }
       if (DISCOVERY_PARTITION != null && "".equals(DISCOVERY_PARTITION) == false)
       {
          // Limit to the partition this test environment is using
-         writer.write(NamingContext.JNP_PARTITION_NAME + "=" + DISCOVERY_PARTITION);
+         writer.write(NamingContext.JNP_PARTITION_NAME + "=" + DISCOVERY_PARTITION + "\n");
       }
       writer.close();
-      getLog().debug("Created custom jndi.properties at " + customJndiProperties + 
-                     " -- DISCOVERY_GROUP is " + DISCOVERY_GROUP);
+      getLog().debug("Created custom jndi.properties at " + customJndiProperties.getAbsolutePath() + 
+                     " -- DISCOVERY_GROUP is " + DISCOVERY_GROUP + 
+                     " -- DISCOVERY_PARTITION is " + DISCOVERY_PARTITION);
       
       
       
@@ -682,7 +683,7 @@
          undeploy(adaptors[0], "test-retry.ear");
          getLog().debug("Undeployed test-retry.ear on server0");
          setDeployed0(false);
-}
+      }
       if (isDeployed1())
       {
          undeploy(adaptors[1], "test-retry.ear");




More information about the jboss-cvs-commits mailing list