[jboss-cvs] JBossAS SVN: r67975 - trunk/testsuite/src/main/org/jboss/test/security/test.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu Dec 6 00:14:03 EST 2007


Author: scott.stark at jboss.org
Date: 2007-12-06 00:14:03 -0500 (Thu, 06 Dec 2007)
New Revision: 67975

Modified:
   trunk/testsuite/src/main/org/jboss/test/security/test/EJBSpecUnitTestCase.java
Log:
Remove the faile("FIXME") as this test is not hanging any longer

Modified: trunk/testsuite/src/main/org/jboss/test/security/test/EJBSpecUnitTestCase.java
===================================================================
--- trunk/testsuite/src/main/org/jboss/test/security/test/EJBSpecUnitTestCase.java	2007-12-06 00:34:58 UTC (rev 67974)
+++ trunk/testsuite/src/main/org/jboss/test/security/test/EJBSpecUnitTestCase.java	2007-12-06 05:14:03 UTC (rev 67975)
@@ -597,7 +597,7 @@
     */
    public void testMDBRunAs() throws Exception
    {
-      fail("FIXME");
+      //fail("FIXME");
       log.debug("+++ testMDBRunAs");
       logout();
       QueueConnectionFactory queueFactory = (QueueConnectionFactory) getInitialContext().lookup(QUEUE_FACTORY);
@@ -635,7 +635,7 @@
     */
    public void testMDBDeepRunAs() throws Exception
    {
-      fail("FIXME");
+      //fail("FIXME");
       log.debug("+++ testMDBDeepRunAs");
       logout();
       QueueConnectionFactory queueFactory = (QueueConnectionFactory) getInitialContext().lookup(QUEUE_FACTORY);
@@ -672,7 +672,7 @@
     */
    public void testRunAsWithRoles() throws Exception
    {
-      fail("FIXME");
+      //fail("FIXME");
       log.debug("+++ testRunAsWithRoles");
       logout();
       QueueConnectionFactory queueFactory = (QueueConnectionFactory) getInitialContext().lookup(QUEUE_FACTORY);
@@ -792,7 +792,7 @@
     */
    public void testStress() throws Exception
    {
-      fail("FIXME");
+      //fail("FIXME");
       log.debug("+++ testStress");
       int count = Integer.getInteger("jbosstest.threadcount", 10).intValue();
       int iterations = Integer.getInteger("jbosstest.iterationcount", 150).intValue();
@@ -830,7 +830,7 @@
     */
    public void testStressNoJaasCache() throws Exception
    {
-      fail("FIXME");
+      //fail("FIXME");
       log.info("+++ testStressNoJaasCache, domain=spec-test");
       // Disable caching for the spec-test domain
       MBeanServerConnection conn = (MBeanServerConnection) getServer();
@@ -932,6 +932,16 @@
    }
 
 
+   @Override
+   protected void setUp() throws Exception
+   {
+      super.setUp();
+      if(System.getProperty("java.security.auth.login.config") == null)
+      {
+         System.setProperty("java.security.auth.login.config", "output/resources/security/auth.conf");
+      }
+   }
+
    /**
     * Setup the test suite.
     */




More information about the jboss-cvs-commits mailing list