[ http://issues.apache.org/jira/browse/DERBY-949?page=all ]
Myrna van Lunteren updated DERBY-949: ------------------------------------- Attachment: DERBY-949_2006_03_15.diff DERBY-949_2006_03_15.diff - updated to newer revision. The TestUtil is now exactly as with patch for DERBY-1037 (i.e. handles network server connections too). > 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: 10.2.0.0 > Reporter: Deepa Remesh > Assignee: Myrna van Lunteren > Priority: Minor > Fix For: 10.2.0.0 > Attachments: DERBY-949_2006_03_11.diff, DERBY-949_2006_03_11.stat, > DERBY-949_2006_03_13.diff, DERBY-949_2006_03_15.diff > > 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 https://issues.apache.org/jira/browse/DERBY-907#action_12365954 -- 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