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

Do not report failure of wiredtiger_open in python tests to output

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

      (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.

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

              Created:
              Updated:
              Resolved: