db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sunitha Kambhampati <ksunitha...@gmail.com>
Subject [PATCH] disable TestDurabilityProperty test in encryption mode
Date Thu, 12 May 2005 23:23:28 GMT
The TestDurabilityProperty test currently checks if the amount of time 
to do insert is within a certain upper bound but on really *slow* 
machines it seems like the encryption run for this test can take longer 
than the upper bound set and can lead to diffs.

This is tricky because if the upper bound is set really high it may not 
really be a good test to check if this mode is broken or not on a  good 
disk.
I plan to enhance this test so maybe we do some smarter checking  to 
avoid failures on slow machines....

But for now,  here is a simple patch that  does a quick fix to disable 
this test for the encryption run and adds a comment in the test to say 
it could also fail if it ran on a really slow machine.

svn stat
M      
java\testing\org\apache\derbyTesting\functionTests\tests\store\TestDurabilityProperty.java
M      
java\testing\org\apache\derbyTesting\functionTests\suites\storemore.runall
M      
java\testing\org\apache\derbyTesting\functionTests\suites\storemats.runall

-- ran storemore and encryption suite ok.

Can a committer please commit this patch.

Thanks,
Sunitha.

Mime
View raw message