[SERVER-34298] PeriodicKillSecondaries will still run after_suite following an after_test failure Created: 04/Apr/18  Updated: 29/Oct/23  Resolved: 23/Apr/18

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: None
Fix Version/s: 3.7.6

Type: Bug Priority: Major - P3
Reporter: Yves Duhem Assignee: Yves Duhem
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: TIG 2018-05-07
Participants:
Story Points: 1

 Description   

After the PeriodicKillSecondaries hook runs it resets its _start_time variable but when the underlying test fails, this step is bypassed causing the following after_suite that checks the variable to run.



 Comments   
Comment by Githook User [ 23/Apr/18 ]

Author:

{'email': 'yves.duhem@mongodb.com', 'username': 'syev', 'name': 'Yves Duhem'}

Message: SERVER-34298 Avoid running PeriodicKillSecondaries twice on failure
Branch: master
https://github.com/mongodb/mongo/commit/82c60c4c26034f384ab59e089eb5d69b2702135a

Generated at Thu Feb 08 04:36:12 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.