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

Don't restart fixtures if currently handling a StopExecution exception

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Testing Infrastructure
    • Server Tooling & Methods
    • STM 2020-07-13
    • 1

    Description

      If a fixture crashes during test execution, we throw a StopExecution exception. However, archiving is executed as part of a finally-block and will restart the fixture after performing archiving, even if we are stopping execution. This is at best unnecessary and wasteful, and at worst confusing to users.

      Attachments

        Activity

          People

            backlog-server-stm Backlog - Server Tooling and Methods (STM) (Inactive)
            carl.worley@mongodb.com Raiden Worley (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: