[jbpm-commits] JBoss JBPM SVN: r4148 - jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/test/java/org/jbpm/perf.

do-not-reply at jboss.org do-not-reply at jboss.org
Thu Mar 5 01:26:51 EST 2009


Author: alex.guizar at jboss.com
Date: 2009-03-05 01:26:51 -0500 (Thu, 05 Mar 2009)
New Revision: 4148

Modified:
   jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/test/java/org/jbpm/perf/SimplePerformanceTest.java
Log:
JBPM-2043: merge r4145 from branch 3.2.6.GA

Modified: jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/test/java/org/jbpm/perf/SimplePerformanceTest.java
===================================================================
--- jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/test/java/org/jbpm/perf/SimplePerformanceTest.java	2009-03-05 06:21:49 UTC (rev 4147)
+++ jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/test/java/org/jbpm/perf/SimplePerformanceTest.java	2009-03-05 06:26:51 UTC (rev 4148)
@@ -30,9 +30,9 @@
 import org.jbpm.graph.exe.ProcessInstance;
 
 /**
- * This tests creates a number of process instances. Every instance has a call to an ActionHandler.
- * https://jira.jboss.org/jira/browse/JBPM-2043
+ * This test creates a number of process instances. Every instance has a call to an ActionHandler.
  * 
+ * @see <a href="https://jira.jboss.org/jira/browse/JBPM-2043">JBPM-2043</a>
  * @author mvecera at redhat.com
  * @author pmacik at redhat.com
  * @author thomas.diesler at jboss.com
@@ -48,7 +48,7 @@
   private ProcessDefinition processDefinition;
 
   @Override
-  public void setUp() throws Exception {
+  protected void setUp() throws Exception {
     super.setUp();
 
     processDefinition = ProcessDefinition.parseXmlString("<process-definition name='perf'>"
@@ -69,7 +69,7 @@
   }
 
   @Override
-  public void tearDown() throws Exception {
+  protected void tearDown() throws Exception {
     stopJobExecutor();
 
     newTransaction();
@@ -79,6 +79,9 @@
   }
 
   public void testAsyncCall() {
+    // Won't Fix [JBPM-2043] Performance test coverage
+    if (getHibernateDialect().indexOf("HSQL") != -1) return;
+
     launchProcessInstances(WARMUP_INSTANCES);
 
     long startTime = System.currentTimeMillis();




More information about the jbpm-commits mailing list