You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Mamta A. Satoor (JIRA)" <ji...@apache.org> on 2008/04/01 06:52:24 UTC

[jira] Updated: (DERBY-3295) DataSourceTest.testConnectionErrorEvent() failed with AssertionFailedError

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

Mamta A. Satoor updated DERBY-3295:
-----------------------------------

    Fix Version/s:     (was: 10.4.0.0)

Removing the fix in version for now

> 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
>            Assignee: Mamta A. Satoor
>            Priority: Minor
>
> 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.