db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rick Hillegas (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DERBY-4361) testDefault fixture in engine.ErrorStreamTest has been failing with junit.framework.AssertionFailedError: File C:\jartest\JarResults.XXdateXX\ibm15_suites.All\system\derby.log could not be deleted
Date Wed, 02 Sep 2009 19:46:32 GMT

    [ https://issues.apache.org/jira/browse/DERBY-4361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12750630#action_12750630
] 

Rick Hillegas commented on DERBY-4361:
--------------------------------------

Hi Mamta,

I notice that this test fails under Java 5. On that VM, only one of the ClassLoaderBootTests
runs. That is testBootingDatabaseShutdownByAnotherCLR(). That test does the following:

1) Boots a database in a separate class loader

2) Shuts down the database

3) Boots the database in a second class loader

4) Shuts down the database

Maybe ClassLoaderBootTest needs to shutdown the engine and not just shutdown the database.
I can't test this theory because the tests run cleanly on my Mac OS X platform. But maybe
you could try out this experiment on windows.

> testDefault fixture in engine.ErrorStreamTest has been failing with junit.framework.AssertionFailedError:
File C:\jartest\JarResults.XXdateXX\ibm15_suites.All\system\derby.log could not be deleted
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-4361
>                 URL: https://issues.apache.org/jira/browse/DERBY-4361
>             Project: Derby
>          Issue Type: Bug
>          Components: Test
>    Affects Versions: 10.5.3.1, 10.6.0.0
>            Reporter: Mamta A. Satoor
>
> testDefault fixture has been failing atleast since August 18th 2009 with following exception.
I do not have access to test results fro 15th, 16th and 17th so not sure if the failure started
earlier. It seemed to have run find on August 14th 2009.
> 1) testDefault(org.apache.derbyTesting.functionTests.tests.engine.ErrorStreamTest)junit.framework.AssertionFailedError:
File C:\jartest\JarResults.2009-08-18\ibm15_suites.All\system\derby.log could not be deleted
> 	at org.apache.derbyTesting.functionTests.tests.engine.ErrorStreamTest.testDefault(ErrorStreamTest.java:135)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:109)
> This is happening both on trunk and 10.5 codelines. Not sure of other codelines. The
failure appears on Windows but not on Linux. The jvms that definitely show the failures are
ibm 15 and ibm16
> Does anyone know of the cause of the failure?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message