[SERVER-31210] Improve the TwoJobsDontDeadlock test in periodic_runner_asio_test.cpp Created: 21/Sep/17 Updated: 30/Oct/23 Resolved: 26/Sep/17 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 3.6.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Mark Benvenuto | Assignee: | Mira Carey |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Backwards Compatibility: | Fully Compatible | ||||
| Operating System: | ALL | ||||
| Sprint: | Platforms 2017-10-02 | ||||
| Participants: | |||||
| Linked BF Score: | 0 | ||||
| Description |
|
The TwoJobsDontDeadlock test is trying to wait for two threads to start in parallel before execution continues. It should be changed to use boost::barrier to make the test more reliable. |
| Comments |
| Comment by Githook User [ 26/Sep/17 ] |
|
Author: {'email': 'jcarey@argv.me', 'name': 'Jason Carey', 'username': 'hanumantmk'}Message: Make sure to teardown the fixture before returning (to avoid writes to |