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

Empty test_*.py files cause test discovery to crash

      It turns out that if you have an empty test_*.py file in your tree (empty in the sense of not containing at least one test class in it; can have other stuff), the test discovery code that figures out what to run if you don't ask for specific tests crashes on it.

      The problem is that the sort pass assumes every file has at least one class in it. The fix is to discard empty files from the test collection before that point.

            Assignee:
            backlog-server-storage-engines [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            dholland+wt@sauclovia.org David Holland
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: