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

Avoid marking errors for skipped Python tests due to not-built extension

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • WT10.0.0, 4.4.2, 4.7.0
    • Affects Version/s: None
    • Component/s: None

      Here's an example of a skipped test that seems to fail.  I think it's intermittent and this occurrence was on Windows:

      [2020/08/12 20:38:09.550] test_encrypt07.test_encrypt07.test_salvage_process_empty ... skipped 'extension "encryptors/rotn" not built'
      ...
      [2020/08/12 20:38:25.122] test_encrypt07.test_encrypt07.test_salvage_process_empty: 0.00 seconds
      [2020/08/12 20:38:25.122] ERROR in test_encrypt07.test_encrypt07.test_salvage_process_empty
      

      I don't know why it thinks it failed or how to figure that out. But perhaps we should always suppress showing something is an error if that test was skipped. This could happen in wttest.WiredTigerTestCase.tearDown.  Is it easy to tell if a function is marked as skipped, or do we have to track on our own when something is skipped?

      If this happens with any frequency, it would be worth the effort.

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

              Created:
              Updated:
              Resolved: