Details
-
Improvement
-
Resolution: Fixed
-
Major - P3
-
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:
- It starts resmoke async
- It sleeps, to allow the test to start
- 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.