db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel John Debrunner <...@debrunners.com>
Subject Re: [PATCH] Derby 218 - Add relaxed durability option
Date Wed, 11 May 2005 18:22:57 GMT
Sunitha Kambhampati wrote:

> David Van Couvering wrote:
>> Great!  I have a question: if I wanted to use this to speed up
>> testing, how do I do it within the context of the test harness?
> To enable this mode for derbyall suite.
> put the following property in
> java\testing\org\apache\derbyTesting\functionTests\suites\derbyall.properties
> derby.system.durability=test

I think this will work as an alternative, and means you don't have to
modify any files

java -Dderby.system.durability=test
org.apache.derbyTesting.functionTests.harness.RunSuite derbyall

The -Dderby.system.durability to the java command ensures the property
will be set for any tests run in-process, e.g. nist

The setting in the jvmflags ensures it is passed on to the JVM's spawned
to run most tests.


View raw message