[jboss-cvs] JBossAS SVN: r60148 - branches/Branch_4_2/testsuite/src/main/org/jboss/test/ha/farm/test.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Wed Jan 31 14:40:42 EST 2007


Author: bstansberry at jboss.com
Date: 2007-01-31 14:40:42 -0500 (Wed, 31 Jan 2007)
New Revision: 60148

Modified:
   branches/Branch_4_2/testsuite/src/main/org/jboss/test/ha/farm/test/ClusterFileTransferTestCase.java
Log:
Add some logging

Modified: branches/Branch_4_2/testsuite/src/main/org/jboss/test/ha/farm/test/ClusterFileTransferTestCase.java
===================================================================
--- branches/Branch_4_2/testsuite/src/main/org/jboss/test/ha/farm/test/ClusterFileTransferTestCase.java	2007-01-31 18:13:29 UTC (rev 60147)
+++ branches/Branch_4_2/testsuite/src/main/org/jboss/test/ha/farm/test/ClusterFileTransferTestCase.java	2007-01-31 19:40:42 UTC (rev 60148)
@@ -26,16 +26,20 @@
 import java.io.FileReader;
 import java.io.FileOutputStream;
 
+import org.jboss.logging.Logger;
+
 import junit.framework.TestCase;
 
 /**
+ * Units tests of the Farm service.
  *
- * @author  Scott Marlow <smarlow at novell.com>
- *
+ * @author Scott Marlow <smarlow at novell.com>
+ * @author Brian Stansberry
  */
-
 public class ClusterFileTransferTestCase extends TestCase
 {
+   private static final Logger log = Logger.getLogger(ClusterFileTransferTestCase.class);
+   
    // NODExSERVERSTR properties are defined in the testsuite/build.xml
    private static String NODE0SERVERSTR = System.getProperty( "jbosstest.cluster.node0.serverroot" );
    private static String NODE1SERVERSTR = System.getProperty( "jbosstest.cluster.node1.serverroot" );
@@ -69,6 +73,8 @@
 
       File node1File = new File(NODE1FARMFOLDER,"farmtestfile.jar");
       File node0File = new File(NODE0FARMFOLDER,"farmtestfile.jar");
+      log.info("node0File is " + node0File);
+      log.info("node1File is " + node1File);
       if(node1File.delete() ||              // ensure target of farm deploy doesn't exist
          node0File.delete())
          Thread.sleep(3000);                // wait for app to undeploy




More information about the jboss-cvs-commits mailing list