[Jboss-cvs] JBossAS SVN: r56532 - trunk/ejb3/src/test/org/jboss/ejb3/test/naming/unit

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Sun Sep 3 17:47:32 EDT 2006


Author: bdecoste
Date: 2006-09-03 17:47:31 -0400 (Sun, 03 Sep 2006)
New Revision: 56532

Modified:
   trunk/ejb3/src/test/org/jboss/ejb3/test/naming/unit/BindFailureTestCase.java
Log:
test no longer valid for rebind()

Modified: trunk/ejb3/src/test/org/jboss/ejb3/test/naming/unit/BindFailureTestCase.java
===================================================================
--- trunk/ejb3/src/test/org/jboss/ejb3/test/naming/unit/BindFailureTestCase.java	2006-09-03 17:19:49 UTC (rev 56531)
+++ trunk/ejb3/src/test/org/jboss/ejb3/test/naming/unit/BindFailureTestCase.java	2006-09-03 21:47:31 UTC (rev 56532)
@@ -51,15 +51,18 @@
    {
       try
       {
-         this.redeploy("bind-failure-test.jar");
-         fail();
+// test was originally to catch redeploying with the same jndi name, but now we are
+// using rebind instead of bind
+//         this.redeploy("bind-failure-test.jar");
+//         fail();
       } catch (Exception e)
       {
          log.info("caught " + e.getClass().getName() + " " + e.getMessage() + " " + e.getCause());
          System.out.println("caught " + e.getClass().getName() + " " + e.getMessage() + " " + e.getCause());
+         fail();
       }
       
-      this.undeploy("bind-failure-test.jar");
+ //     this.undeploy("bind-failure-test.jar");
       
    }
 




More information about the jboss-cvs-commits mailing list