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

Do not report failure of wiredtiger_open in python tests to output

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • WT10.0.1, 4.4.8, 5.0.2, 5.1.0-rc0
    • None
    • 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

            donald.anderson@mongodb.com Donald Anderson
            donald.anderson@mongodb.com Donald Anderson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: