db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Knut Anders Hatlen (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DERBY-5753) nighly regression test failure in testLeak(org.apache.derbyTesting.functionTests.tests.memory.Derby5730Test) process failed
Date Wed, 09 May 2012 17:01:48 GMT

     [ https://issues.apache.org/jira/browse/DERBY-5753?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Knut Anders Hatlen updated DERBY-5753:
--------------------------------------

    Attachment: d5753-1a.diff

The new test for DERBY-5730 didn't take into account that the driver isn't autoloaded on Java
5. The attached patch makes the spawned process load the embedded driver manually in its main()
method. The test passed on Java 5 in my environment with these changes.
                
> nighly regression test failure in testLeak(org.apache.derbyTesting.functionTests.tests.memory.Derby5730Test)
process failed
> ---------------------------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-5753
>                 URL: https://issues.apache.org/jira/browse/DERBY-5753
>             Project: Derby
>          Issue Type: Bug
>          Components: Test
>            Reporter: Mike Matrigali
>            Assignee: Knut Anders Hatlen
>         Attachments: d5753-1a.diff
>
>
> Failed for ibm15 jvm, windows against trunk build 1335883
> http://people.apache.org/~myrnavl/derby_test_results/main/windows/testlog/ibm15/1335883-suites.All_diff.txt
> There was 1 failure:
> 1) testLeak(org.apache.derbyTesting.functionTests.tests.memory.Derby5730Test)junit.framework.AssertionFailedError:
Process failed:Spawned DERBY-5730 exitCode=1
> STDERR:
> Exception in thread "main" java.sql.SQLException: No suitable driver
> 	at java.sql.DriverManager.getConnection(DriverManager.java:592)
> 	at java.sql.DriverManager.getConnection(DriverManager.java:218)
> 	at org.apache.derbyTesting.functionTests.tests.memory.Derby5730Test.main(Derby5730Test.java:112)
> 	at org.apache.derbyTesting.functionTests.tests.memory.Derby5730Test.testLeak(Derby5730Test.java:66)
> 	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:113)
> FAILURES!!!
> Tests run: 13645,  Failures: 1,  Errors: 0

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message