db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Myrna van Lunteren (JIRA)" <j...@apache.org>
Subject [jira] Closed: (DERBY-3295) DataSourceTest.testConnectionErrorEvent() failed with AssertionFailedError
Date Wed, 23 Feb 2011 08:28:38 GMT

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

Myrna van Lunteren closed DERBY-3295.
-------------------------------------

    Resolution: Cannot Reproduce

Looks like we've not seen this again. If it happens again, this issue can be reopened.

> DataSourceTest.testConnectionErrorEvent() failed with AssertionFailedError
> --------------------------------------------------------------------------
>
>                 Key: DERBY-3295
>                 URL: https://issues.apache.org/jira/browse/DERBY-3295
>             Project: Derby
>          Issue Type: Bug
>          Components: Test
>         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.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message