Successful test of jBPM 3.3 with H2
by Ronald van Kuijk
Guys,
Considering all the trouble there continuously is with HSQLDB, I gave it a
shot to try and embed H2 in jBPM. The of my time was figuring out where the
<beep> all parts of the ddl/config generation was put and how to create a
new profile. Eventually when the tests were run, only one failed in the
core, the JobExecutorTest with multiple threads. H2 gave a deadlock error
there, but that might be because of tuning, I'll try to figure that one out
yet. It only took H2 in embedded mode 1m45 with file persistency compared to
H2 55 seconds in-memory (not sure there is a pure in-memory mode for H2)
The web console for H2 btw is also nice, so for me it is a real replacement
for HSQLDB.
Next is trying to figure out if the enterprise module can be tested the same
way... I've seen that the ESB guys run jBPM against H2 (they've created an
mbean to start H2 the same way as HSQLDB is started).
Ronald
15 years, 11 months
JmsMessageTest fails intermitently on HSQLDB
by Thomas Diesler
Alejandro,
I resolved the issue as "Won't Fix" and updated the pom accordingly for you.
<!-- Won't Fix [JBPM-1811] JmsMessageTest fails intermitently on HSQLDB
<exclude>org/jbpm/msg/jms/JmsMessageTest.java</exclude>
cheers
-thomas
Alejandro Guizar (JIRA) wrote:
> [ https://jira.jboss.org/jira/browse/JBPM-1811?page=com.atlassian.jira.plug... ]
>
> Alejandro Guizar reassigned JBPM-1811:
> --------------------------------------
>
> Assignee: Thomas Diesler (was: Alejandro Guizar)
>
>
> Thomas,
>
> Feel free to do anything you consider good enough about this issue. I've excluded the asynchronous fork test from the HSQLDB test suite, a limitation which has been discussed, investigated and made known way too many times. I'm not spending any more time here.
>
>> JmsMessageTest fails intermitently on HSQLDB
>> --------------------------------------------
>>
>> Key: JBPM-1811
>> URL: https://jira.jboss.org/jira/browse/JBPM-1811
>> Project: JBoss jBPM
>> Issue Type: Bug
>> Security Level: Public(Everyone can see)
>> Components: Core Engine
>> Reporter: Thomas Diesler
>> Assignee: Thomas Diesler
>> Fix For: jBPM 3.3.1 GA
>>
>>
>> junit.framework.AssertionFailedError
>> at junit.framework.Assert.fail(Assert.java:47)
>> at junit.framework.Assert.assertTrue(Assert.java:20)
>> at junit.framework.Assert.assertTrue(Assert.java:27)
>> at org.jbpm.msg.jms.JmsMessageTest.testAsyncFork(JmsMessageTest.java:193)
>> EventCallback.waitForEvent(Event.EVENTTYPE_PROCESS_END);
>> assertTrue("Process has ended", hasProcessEnded(processId));
>> It seems that hasProcessEnded() can return false although the exent had already been sent.
>> This sould be a race condition
>
--
xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Thomas Diesler
BPM Product Lead
JBoss, a division of Red Hat
xxxxxxxxxxxxxxxxxxxxxxxxxxxx
15 years, 11 months
jbpm-3.3.1 code freeze
by Thomas Diesler
Folks,
code freeze is coming up (20-Dec-2008)
Could you please wrap up and get your stuff in before X-Mas?
Alejandro: 5
Bernd: 5
Heiko: 2
Koen: 1
Ronald: 2
Thomas: 2
Tom: 3
cheers
-thomas
15 years, 11 months