db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Matrigali <mikem_...@sbcglobal.net>
Subject Re: [jira] Commented: (DERBY-810) intermittent diff for store/RecoveryAfterBackup.java test
Date Thu, 19 Jan 2006 18:45:38 GMT
As pointed out this test must be run as part of a suite.  Unlike the
majority of derby tests each subsequent test is dependent on what
has come before in the SAME database.  This is because each test does
stuff like setup some uncommitted transaction and crash the database,
so that the subsequent test can do test redo recovery of what was set

I am not sure why running each separately in order does not work, but
I would guess it has to do with some properties that are special to
running as a suite which you don't pick up running each test separately.

Øystein Grøvlen wrote:
>>>>>>"DVC(" == David Van Couvering (JIRA) <derby-dev@db.apache.org>
>     DVC(>     [ http://issues.apache.org/jira/browse/DERBY-810?page=comments#action_12363024
>     DVC(> David Van Couvering commented on DERBY-810:
>     DVC(> -------------------------------------------
>     DVC(> I applied this patch and it built fine, but when I try to
>     DVC(> run storemats I get this error.  I tried running it as a
>     DVC(> separate test and got the same error.  Is there something
>     DVC(> I'm missing?  
> This test is not part of storemats so I cannot understand how you can
> get this error when running storemats.  To run this test you must run
> either storerecovery, storeall, or derbyall.  None of the tests in the
> storerecovery test can be run as separate tests.  They depend on being
> run in sequence, and for some reason that I have not understand,
> running them in sequence manually does not work either.
> The test works fine for me when I run storerecovery or storeall.
>     DVC(> And who thought of this name for a database - ick! :)
> http://www.wombania.com/wombats/hairy-nosed-wombat.htm

View raw message