0 Replies Latest reply on Oct 21, 2010 3:49 PM by paulmkeogh

    TestNG Seam ComponentTest is slooooooooowww ?

    paulmkeogh
      Can anyone suggest why a simple Seam ComponentTest takes 50 seconds to execute on an otherwise fast laptop with 4GB of memory ?

      The test is;


      `     @Test
           public void testMappingSuccess () throws Exception {
              new ComponentTest() {
                  protected void testComponents() throws Exception {
                       Assert.assertEquals (false, true);     
                   }
              }.run();
           }`


      I'm a nagging suspicion that it could be related to a recent upgrade I made in JBoss tools....

      Thanks,



      When I turn up the debug level I can see that most of the time is spent here;

      [Invoker 2081531] Invoking @BeforeSuite org.jboss.seam.mock.SeamTest.startSeam()