Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-7799

Do not report failure of wiredtiger_open in python tests to output

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: WT10.0.1, 4.4.8, 5.0.2, 5.1.0-rc0
    • Component/s: None
    • Labels:
      None

      Description

      (Reported by Keith Bostic):

      This code in wttest.py

      .   except wiredtiger.WiredTigerError as e:
                  print("Failed wiredtiger_open: dir '%s', config '%s'" % \
                      (home, conn_param))
                  raise e

      leads to this in test_txn19.py

              if expect_fail:
                  with self.expectedStdoutPattern('Failed wiredtiger_open'):
                      errmsg = '/WT_TRY_SALVAGE: database corruption detected/'

      We should report errors to stderr, not stdout.

        Attachments

          Activity

            People

            Assignee:
            donald.anderson Donald Anderson
            Reporter:
            donald.anderson Donald Anderson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: