DataSourceTest.testConnectionErrorEvent() failed with AssertionFailedError
--------------------------------------------------------------------------
Key: DERBY-3295
URL: https://issues.apache.org/jira/browse/DERBY-3295
Project: Derby
Issue Type: Bug
Components: Regression Test Failure
Environment: ibm16, svn # 605788
Reporter: A B
Priority: Minor
Fix For: 10.4.0.0
Running suites.All with ibm16 on 12/19 I saw the following failure:
There was 1 failure:
1)
testConnectionErrorEvent(org.apache.derbyTesting.functionTests.tests.jdbc4.DataSourceTest)junit.framework.AssertionFailedError
at
org.apache.derbyTesting.functionTests.tests.jdbc4.DataSourceTest.testConnectionErrorEvent(DataSourceTest.java:208)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:45)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at
org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:96)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
at junit.extensions.TestSetup.run(TestSetup.java:23)
at
org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
at junit.extensions.TestSetup.run(TestSetup.java:23)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
at junit.extensions.TestSetup.run(TestSetup.java:23)
at
org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
The line in DataSourceTest that threw the assertion failure was line 208:
//Now try to use various apis on the JDBC Connection object created
//before shutdown and they all should generate connection error event.
...
assertTrue(aes12.didConnectionErrorEventHappen());
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.