Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-23743

resmoke.py hooks should create a new TestCase for each run of the hook

    XMLWordPrintableJSON

Details

    • Fully Compatible

    Description

      Each resmoke.py hook currently use one TestCase for the entire suite and will only return when the entire suite has finished. If there are multiple jobs and one of them hangs, resmoke will report that the hooks ran for the duration of the hang, which can easily mislead the reader into believing the hooks are the cause of the hang.

      We should have each run of the hook create a new TestCase (in CustomBehavior.after_test), and a separate TestCase for the summarized report that prints "hook succeeded for all tests in the suite" at the end.

      Attachments

        Activity

          People

            backlog-server-tig DO NOT USE - Backlog - Test Infrastructure Group (TIG)
            robert.guo@mongodb.com Robert Guo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: