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

Amend TestTimeout to properly block until test is running

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.2.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • 145

    Description

      Currently, TestTimeout.execute_resmoke() (https://github.com/10gen/mongo/blob/01551ea99903eced520614deec851a07bd505a2e/buildscripts/tests/resmoke_end2end/test_resmoke.py#L152).) works as follows:

      1. It starts resmoke async
      2. It sleeps, to allow the test to start
      3. It signals an interrupt to resmoke and triggers the hang analyzer

      This is unreliable, because the sleep() operation can transiently fail. trevor.guidry@mongodb.com and I agreed that a better way is for the underlying test to signal to the test process that it is running and ready to be interrupted.

      Attachments

        Activity

          People

            steve.gross@mongodb.com Steve Gross
            steve.gross@mongodb.com Steve Gross
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: