[jbpm-commits] JBoss JBPM SVN: r5062 - in jbpm3/branches/jbpm-3.2-soa/modules/core/src/test/java/org/jbpm: job/executor and 1 other directory.
do-not-reply at jboss.org
do-not-reply at jboss.org
Thu Jun 18 15:13:28 EDT 2009
Author: alex.guizar at jboss.com
Date: 2009-06-18 15:13:28 -0400 (Thu, 18 Jun 2009)
New Revision: 5062
Modified:
jbpm3/branches/jbpm-3.2-soa/modules/core/src/test/java/org/jbpm/jbpm1072/JBPM1072Test.java
jbpm3/branches/jbpm-3.2-soa/modules/core/src/test/java/org/jbpm/job/executor/JobExecutorDbTest.java
Log:
JBPM-2292: Move jBPM3-SOA continuous integration to QA lab (RESOLVED)
Prevent JobExecutorDbTest from running against HSQLDB
Modified: jbpm3/branches/jbpm-3.2-soa/modules/core/src/test/java/org/jbpm/jbpm1072/JBPM1072Test.java
===================================================================
--- jbpm3/branches/jbpm-3.2-soa/modules/core/src/test/java/org/jbpm/jbpm1072/JBPM1072Test.java 2009-06-18 16:50:14 UTC (rev 5061)
+++ jbpm3/branches/jbpm-3.2-soa/modules/core/src/test/java/org/jbpm/jbpm1072/JBPM1072Test.java 2009-06-18 19:13:28 UTC (rev 5062)
@@ -47,27 +47,27 @@
private JobExecutor[] jobExecutors = new JobExecutor[JOB_EXECUTOR_COUNT];
private long processDefinitionId;
- private static final String PROCESS_DEFINITION = "<process-definition name='job-executors'>"
- + " <event type='process-end'>"
- + " <action expression='#{eventCallback.processEnd}' />"
- + " </event>"
- + " <start-state name='start-state1'>"
- + " <transition to='Service 1'></transition>"
- + " </start-state>"
- + " <node name='Service 1' async='true'>"
- + " <action class='"
- + Counter.class.getName()
- + "' />"
- + " <transition to='Service 2' />"
- + " </node>"
- + " <node name='Service 2' async='true'>"
- + " <action class='"
- + Counter.class.getName()
- + "' />"
- + " <transition to='end-state1' />"
- + " </node>"
- + " <end-state name='end-state1' />"
- + "</process-definition>";
+ private static final String PROCESS_DEFINITION = "<process-definition name='job-executors'>" +
+ " <event type='process-end'>" +
+ " <action expression='#{eventCallback.processEnd}' />" +
+ " </event>" +
+ " <start-state name='start-state1'>" +
+ " <transition to='Service 1'></transition>" +
+ " </start-state>" +
+ " <node name='Service 1' async='true'>" +
+ " <action class='" +
+ Counter.class.getName() +
+ "' />" +
+ " <transition to='Service 2' />" +
+ " </node>" +
+ " <node name='Service 2' async='true'>" +
+ " <action class='" +
+ Counter.class.getName() +
+ "' />" +
+ " <transition to='end-state1' />" +
+ " </node>" +
+ " <end-state name='end-state1' />" +
+ "</process-definition>";
protected void setUp() throws Exception {
super.setUp();
@@ -91,9 +91,7 @@
public void testMultipleJobExecutors() {
// Won't Fix [JBPM-1072] Concurrent JobExecutors can process the same job in parallel
- if (getHibernateDialect().indexOf("HSQL") != -1) {
- return;
- }
+ if (getHibernateDialect().indexOf("HSQL") != -1) return;
Counter.resetCount();
Modified: jbpm3/branches/jbpm-3.2-soa/modules/core/src/test/java/org/jbpm/job/executor/JobExecutorDbTest.java
===================================================================
--- jbpm3/branches/jbpm-3.2-soa/modules/core/src/test/java/org/jbpm/job/executor/JobExecutorDbTest.java 2009-06-18 16:50:14 UTC (rev 5061)
+++ jbpm3/branches/jbpm-3.2-soa/modules/core/src/test/java/org/jbpm/job/executor/JobExecutorDbTest.java 2009-06-18 19:13:28 UTC (rev 5062)
@@ -32,6 +32,9 @@
}
public void testJobExecutor() {
+ // Won't fix, multiple threads not supported on HSQLDB
+ if (getHibernateDialect().indexOf("HSQL") != -1) return;
+
deployProcessDefinition();
try {
startProcessInstances();
More information about the jbpm-commits
mailing list