[SERVER-82445] Amend TestTimeout to properly block until test is running Created: 25/Oct/23  Updated: 18/Dec/23  Resolved: 01/Nov/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.2.0-rc0

Type: Improvement Priority: Major - P3
Reporter: Steve Gross Assignee: Steve Gross
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Participants:
Linked BF Score: 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.



 Comments   
Comment by Githook User [ 31/Oct/23 ]

Author:

{'name': 'Steve Gross', 'email': 'steve.gross@mongodb.com', 'username': 'stevegrossmongodb'}

Message: SERVER-82445 Amend test_resmoke to properly block until SUT is available
Branch: master
https://github.com/mongodb/mongo/commit/3083e90727662b93e00ec75a4698c819bac63c08

Generated at Thu Feb 08 06:49:15 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.