db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Van Couvering <David.Vancouver...@Sun.COM>
Subject Re: [PATCH] Derby 218 - Add relaxed durability option
Date Wed, 11 May 2005 18:53:34 GMT
Thanks.  Are there any tests that *shouldn't* be run in this mode, e.g. 
recovery tests?

David

Daniel John Debrunner wrote:

> 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
> -Djvmflags="-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.
> 
> Dan.
> 
> 
> 
> 

Mime
View raw message