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

BlobMemTest and ClobMemTest don't call super.tearDown()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 10.6.1.0
    • 10.6.1.0
    • Test
    • None

    Description

      The tests memory.BlobMemTest and memory.ClobMemTest have a tearDown() method that looks like this:

      public void tearDown() throws SQLException

      { rollback(); }

      They should also call super.tearDown() in order to perform some additional clean-up (like closing of connection and statements). Since the tearDown() method in BaseJDBCTestCase will also take care of calling rollback() on the connection, there's not actually any need for a specialized tearDown() method in these tests, so I suggest we just remove the methods and let the classes inherit the method from BaseJDBCTestCase.

      Attachments

        1. tearDown.diff
          1 kB
          Knut Anders Hatlen

        Activity

          People

            knutanders Knut Anders Hatlen
            knutanders Knut Anders Hatlen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: