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] Commented: (DERBY-2047) TestDataSourceFactory doesn't work correctly outside the old harness
Date Thu, 09 Nov 2006 07:30:38 GMT
    [ http://issues.apache.org/jira/browse/DERBY-2047?page=comments#action_12448383 ] 
            
Knut Anders Hatlen commented on DERBY-2047:
-------------------------------------------

It seems like the 472187 and/or 472228 commit broke a couple of tests in the old harness:

********* Diff file derbyall/derbynetclientmats/DerbyNetClient/derbynetmats/derbynetmats/ShutDownDBWhenNSShutsDownTest.diff
*** Start: ShutDownDBWhenNSShutsDownTest jdk1.6.0-rc DerbyNetClient derbynetmats:derbynetmats
2006-11-09 04:35:03 ***
0 add
> .F.
> There was 1 failure:
> 1) testEngineShutdownDoesNotTakeDownNS(org.apache.derbyTesting.functionTests.tests.derbynet.ShutDownDBWhenNSShutsDownTest)junit.framework.ComparisonFailure:
Engine shutdown expected:<XJ0[15]> but was:<XJ0[28]>
> FAILURES!!!
> Tests run: 2,  Failures: 1,  Errors: 0
Test Failed.
*** End:   ShutDownDBWhenNSShutsDownTest jdk1.6.0-rc DerbyNetClient derbynetmats:derbynetmats
2006-11-09 04:35:15 ***

********* Diff file derbyall/jdbc40/VerifySignatures.diff
*** Start: VerifySignatures jdk1.6.0-rc derbyall:jdbc40 2006-11-09 04:24:15 ***
0 add
> Failed to invoke suite():java.sql.SQLException: Database 'wombat' not found.
Test Failed.
*** End:   VerifySignatures jdk1.6.0-rc derbyall:jdbc40 2006-11-09 04:24:16 ***

> TestDataSourceFactory doesn't work correctly outside the old harness
> --------------------------------------------------------------------
>
>                 Key: DERBY-2047
>                 URL: http://issues.apache.org/jira/browse/DERBY-2047
>             Project: Derby
>          Issue Type: Bug
>          Components: Test
>    Affects Versions: 10.3.0.0
>            Reporter: Knut Anders Hatlen
>         Assigned To: Daniel John Debrunner
>         Attachments: DataSource.java, derby-2047.diff, derby-2047.stat
>
>
> TestDataSourceFactory uses TestUtil to create DataSource, ConnectionPoolDataSource and
XADataSource objects. TestUtil needs to run in the old harness in order to detect which framework
it is running under, so it will create embedded data sources for all JUnit tests that are
run outside the old harness.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message