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

TestDataSourceFactory doesn't work correctly outside the old harness

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 10.3.1.4
    • 10.3.1.4
    • Test
    • None

    Description

      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.

      Attachments

        1. derby-2047.stat
          0.7 kB
          Knut Anders Hatlen
        2. derby-2047.diff
          20 kB
          Knut Anders Hatlen
        3. DataSource.java
          2 kB
          Daniel John Debrunner

        Activity

          People

            djd Daniel John Debrunner
            knutanders Knut Anders Hatlen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: