[
https://issues.apache.org/jira/browse/DERBY-5072?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Myrna van Lunteren closed DERBY-5072.
-------------------------------------
Resolution: Duplicate
The nightlies indeed run with derbyrun.jar, not derby.jar, so this is a
duplicate of DERBY-4872.
I'll add derby.jar so we don't see this failure anymore...
Maybe we will loose some testing functionality, but the only other option I see
is to temporarily? switch off this test, which I think is worse.
> test failure in
> org.apache.derbyTesting.functionTests.tests.jdbc4.Driver40UnbootedTest.test_notBooted
> -----------------------------------------------------------------------------------------------------
>
> Key: DERBY-5072
> URL: https://issues.apache.org/jira/browse/DERBY-5072
> Project: Derby
> Issue Type: Bug
> Components: Test
> Affects Versions: 10.8.0.0
> Environment: windows XP or Suse Linux, ibm 1.6
> Reporter: Myrna van Lunteren
> Labels: derby_triage10_8
>
> Since Feb 8, build sync-ed up to revision 1068745, there has been one test
> failure that remains unresolved:
> 1)
> test_notBooted(org.apache.derbyTesting.functionTests.tests.jdbc4.Driver40UnbootedTest)junit.framework.AssertionFailedError:
> expected:<0> but was:<1>
> at
> org.apache.derbyTesting.functionTests.tests.jdbc4.Driver40UnbootedTest.test_notBooted(Driver40UnbootedTest.java:159)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
> at
> org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:112)
> at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
> at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
> at junit.extensions.TestSetup.run(TestSetup.java:16)
> The console spits out the following when this test runs:
> test_notBooted START-SPAWNED:UnbootedTest ERROR OUTPUT:
> Exception in thread "main" java.sql.SQLException: No suitable driver
> at java.sql.DriverManager.getDriver(DriverManager.java:396)
> at
> org.apache.derbyTesting.functionTests.tests.jdbc4.Driver40UnbootedTest.main(Driver40UnbootedTest.java:105)
> END-SPAWNED :UnbootedTest ERROR OUTPUT:
> This happens on both Suse Linux and Windows XP.
> See also:
> http://people.apache.org/~myrnavl/derby_test_results/main/windows/testlog/ibm16/1074780-suites.All_diff.txt
> (IBM 1.6 on Linux has the same problem, but you cannot tell which test fails
> from the reports at that site because of a reporting issue).
> I tried to reproduce with just and just the jdbc4 suite on my system, and
> couldn't, but perhaps in both cases the test was skipped because it ran in 0
> ms? I'll continue investigating...
> Marking this as 'test issue' for now, and urgent because of imminent 10.8
> release.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira