db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Myrna van Lunteren (JIRA)" <derby-...@db.apache.org>
Subject [jira] Commented: (DERBY-949) Clean up tests to use common method to get connections
Date Sun, 12 Mar 2006 22:04:54 GMT
    [ http://issues.apache.org/jira/browse/DERBY-949?page=comments#action_12370108 ] 

Myrna van Lunteren commented on DERBY-949:

The patch DERBY-949_2006_03_11.* fixes this issue.
I ran derbyall with j2ME (wctme5.7_foundation) and jdk142 and encountered no new failures.
(jdk142 - wisconsin, j9 - grantRevoke, bootLock).

Note that with this patch I did modify TestUtil.getConnection() so it worked in all cases
tested. I think this would be good place to have a generic getConnection method, but currently,
it does not provide a connection to networkserver. I will work on that in a next patch - the
tests listed in this bug do not currently run with networkserver and I tried to keep the changes
specific to this issue.

> Clean up tests to use common method to get connections
> ------------------------------------------------------
>          Key: DERBY-949
>          URL: http://issues.apache.org/jira/browse/DERBY-949
>      Project: Derby
>         Type: Test
>   Components: Test
>     Versions:
>     Reporter: Deepa Remesh
>     Assignee: Myrna van Lunteren
>     Priority: Minor
>      Fix For:
>  Attachments: DERBY-949_2006_03_11.diff, DERBY-949_2006_03_11.stat
> Currently some tests have code to check the environment and get connection using DriverManager/DataSource.
This logic has been moved to TestUtil.getConnection method. Cleanup tests to use this method.
List of tests:
> store/TestDurabilityProperty.java
> store/backupRestore1.java
> store/OnlineBackup tests
> lang/logStream.java
> lang/closed.java
> Also, add comment to ij.startJBMS method mentioning TestUtil.getConnection method. See

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message