[SERVER-24869] TaskExecutor test fixture should expose shutdown/joining of task executor outside of tearDown() Created: 01/Jul/16  Updated: 25/Jan/17  Resolved: 01/Jul/16

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: 3.3.10

Type: Task Priority: Minor - P4
Reporter: Benety Goh Assignee: Benety Goh
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Sprint: Repl 17 (07/15/16)
Participants:
Linked BF Score: 0

 Description   

TaskExecutor::tearDown() currently does the following to the task executor

  • shuts down
  • join
  • releases memory resources for the executor

It would be desirable to split up and expose these functions to tests that use this fixture to allow more control over the teardown of the tests.



 Comments   
Comment by Githook User [ 01/Jul/16 ]

Author:

{u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}

Message: SERVER-24869 shutdown applier task executor before destroying data replicator. added shutdown function for task executor to TaskExecutorTest
Branch: master
https://github.com/mongodb/mongo/commit/3fdc3ccf7e97a5f4dcd6820b4d160bb19a32bebd

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