[jboss-cvs] JBossAS SVN: r65773 - in trunk/testsuite: src/main/org/jboss/test/security/test and 1 other directory.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Oct 2 16:03:23 EDT 2007


Author: anil.saldhana at jboss.com
Date: 2007-10-02 16:03:23 -0400 (Tue, 02 Oct 2007)
New Revision: 65773

Modified:
   trunk/testsuite/build.xml
   trunk/testsuite/src/main/org/jboss/test/security/test/EJBSpecUnitTestCase.java
Log:
enable EJBSpecUnitTestCase with FIXME

Modified: trunk/testsuite/build.xml
===================================================================
--- trunk/testsuite/build.xml	2007-10-02 19:49:20 UTC (rev 65772)
+++ trunk/testsuite/build.xml	2007-10-02 20:03:23 UTC (rev 65773)
@@ -693,7 +693,6 @@
       <include name="**/test/perf/test/SecurePerfStressTestCase.class"/>
       <include name="**/test/timer/test/SecureTimerUnitTestCase.class"/>
       <exclude name="**/test/security/test/SRP*.class"/>
-      <exclude name="**/test/security/test/EJBSpec*.class"/>
    </patternset>
    <patternset id="security.excludes">
       <exclude name="**/test/naming/test/Security*"/>

Modified: trunk/testsuite/src/main/org/jboss/test/security/test/EJBSpecUnitTestCase.java
===================================================================
--- trunk/testsuite/src/main/org/jboss/test/security/test/EJBSpecUnitTestCase.java	2007-10-02 19:49:20 UTC (rev 65772)
+++ trunk/testsuite/src/main/org/jboss/test/security/test/EJBSpecUnitTestCase.java	2007-10-02 20:03:23 UTC (rev 65773)
@@ -597,6 +597,7 @@
     */
    public void testMDBRunAs() throws Exception
    {
+      fail("FIXME");
       log.debug("+++ testMDBRunAs");
       logout();
       QueueConnectionFactory queueFactory = (QueueConnectionFactory) getInitialContext().lookup(QUEUE_FACTORY);
@@ -634,6 +635,7 @@
     */
    public void testMDBDeepRunAs() throws Exception
    {
+      fail("FIXME");
       log.debug("+++ testMDBDeepRunAs");
       logout();
       QueueConnectionFactory queueFactory = (QueueConnectionFactory) getInitialContext().lookup(QUEUE_FACTORY);
@@ -670,6 +672,7 @@
     */
    public void testRunAsWithRoles() throws Exception
    {
+      fail("FIXME");
       log.debug("+++ testRunAsWithRoles");
       logout();
       QueueConnectionFactory queueFactory = (QueueConnectionFactory) getInitialContext().lookup(QUEUE_FACTORY);
@@ -789,9 +792,10 @@
     */
    public void testStress() throws Exception
    {
+      fail("FIXME");
       log.debug("+++ testStress");
       int count = Integer.getInteger("jbosstest.threadcount", 10).intValue();
-      int iterations = Integer.getInteger("jbosstest.iterationcount", 5000).intValue();
+      int iterations = Integer.getInteger("jbosstest.iterationcount", 150).intValue();
       // Use a minimum of 100 iterations
       if( iterations < 100 )
          iterations = 100;
@@ -826,6 +830,7 @@
     */
    public void testStressNoJaasCache() throws Exception
    {
+      fail("FIXME");
       log.info("+++ testStressNoJaasCache, domain=spec-test");
       // Disable caching for the spec-test domain
       MBeanServerConnection conn = (MBeanServerConnection) getServer();
@@ -883,6 +888,7 @@
                log.debug("Created spec.StatelessSession");
                log.debug("Bean.echo('Hello') -> "+bean.echo("Hello"));
                bean.remove();
+               log.debug("Removed bean");
                lc.logout();
             }
          }




More information about the jboss-cvs-commits mailing list