Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-949

Clean up tests to use common method to get connections

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 10.2.1.6
    • 10.2.1.6
    • Test
    • None

    Description

      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

      Attachments

        1. DERBY-993_2006_03_19.diff
          15 kB
          Myrna van Lunteren
        2. DERBY-993_2006_03_19.stat
          0.5 kB
          Myrna van Lunteren
        3. DERBY-949_2006_03_15.diff
          28 kB
          Myrna van Lunteren
        4. DERBY-949_2006_03_13.diff
          27 kB
          Myrna van Lunteren
        5. DERBY-949_2006_03_11.diff
          54 kB
          Myrna van Lunteren
        6. DERBY-949_2006_03_11.stat
          0.7 kB
          Myrna van Lunteren

        Issue Links

          Activity

            People

              myrna Myrna van Lunteren
              deepa Deepa
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: