Close connection in test/suite if validation during tearDown fails

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • WT12.0.0, 9.0.0-rc0
    • Affects Version/s: None
    • Component/s: Test Python
    • None
    • Storage Engines, Storage Engines - Persistence
    • 0.001
    • None
    • None

      When test/suite runs validate during the tearDown process, a validation failure could leave the connection still open, which then causes subsequent tests to fail with:

      WiredTiger database is already being managed by another thread in this process: Device or resource busy
      

      It appears that if verifyLayered() fails with WiredTigerError, the @dumpErrorLogOnWtError decorator re-raises it, and tearDown exits early without closing the connection.

            Assignee:
            Peter Macko
            Reporter:
            Peter Macko
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: