Author: alex.guizar(a)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-204...
* @author mvecera(a)redhat.com
* @author pmacik(a)redhat.com
* @author thomas.diesler(a)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();