On 5/22/07, Steve Tynor <[EMAIL PROTECTED]> wrote:
FWIW, I've abandoned the idea of using hsqldb or h2 for cruisecontrol
auto testing of my appfuse 2.0-m5-snapshot based project and have set up
a mysql server on the continuous integration server. I'd prefer hsqldb
or h2 since they support localaized set up/tear down with less chance
that one bad test will corrupt the database for future tests, but until
I can make it work, I'll live with mysql.
I'm still curious to know if this is something peculiar to my
development environment, or if this is a limitation w/ h2 and hsqldb
that all appfuse users must work around.
If you can provide the steps to reproduce, I'll see if it works on my
environment. Please include the command you used to create and test
the project.
Matt
Regards,
Steve
On 5/16/2007 8:36 AM, Steve Tynor wrote:
> That works for "mvn clean test" (BUILD SUCCESSFUL), but I still see
> "locked by other process" errors (and BUILD ERROR) for "mvn clean
> integration-test".
>
> Steve
>
> On 5/16/2007 8:19 AM, Matt Raible wrote:
>> You could try removing the 2nd execution that dbunit has - the one
>> that populates the database after tests are run:
...
>>> The build fails. Surefire reports all tests pass:
>>>
>>> > Results :
>>> > [surefire] Tests run: 57, Failures: 0, Errors: 0
>>>
>>> then maven reports build failure:
>>>
>>> > [INFO] [dbunit:operation {execution: test}]
>>> > [INFO]
>>> ------------------------------------------------------------------------
>>> > [ERROR] BUILD ERROR
>>> > [INFO]
>>> ------------------------------------------------------------------------
>>> > [INFO] Error executing database operation: CLEAN_INSERT
>>> >
>>> > Embedded error: Database may be already open: Locked by another
>>> process [90020-34]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
http://raibledesigns.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]