[SERVER-50606] NetworkInterfaceTest needs to be more permissive with async op timeout Created: 28/Aug/20 Updated: 29/Oct/23 Resolved: 18/Jul/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.1.0-rc0, 4.4.24, 6.0.10, 5.0.21, 7.0.2 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Benjamin Caimano (Inactive) | Assignee: | Vojislav Stojkovic |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | servicearch-wfbf-day | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Assigned Teams: |
Service Arch
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Operating System: | ALL | ||||||||
| Backport Requested: |
v7.0, v6.3, v6.0, v5.0, v4.4
|
||||||||
| Sprint: | Service Arch 2023-07-10, Service Arch 2023-07-24 | ||||||||
| Participants: | |||||||||
| Linked BF Score: | 0 | ||||||||
| Description |
|
Here and here, we compare the elapsed time from the NetworkInterfaceTL with fixed values. However, the NetworkInterfaceTL measures its result from when it started the command. We should use OperationContext::setDeadlineByDate(...) instead of OperationContext:: setDeadlineAfterNowBy(...) and record the delay from our source data (without additional timeout) until after we invoke runCommand(). We can then compare the elapsed time with the timeouts minus the delay. |
| Comments |
| Comment by Githook User [ 07/Sep/23 ] |
|
Author: {'name': 'vstojkovic-mongodb', 'email': '90724588+vstojkovic-mongodb@users.noreply.github.com', 'username': 'vstojkovic-mongodb'}Message: (cherry picked from commit 616fc5509604701f82f69263de71dc570227a626) |
| Comment by Githook User [ 08/Aug/23 ] |
|
Author: {'name': 'vstojkovic-mongodb', 'email': '90724588+vstojkovic-mongodb@users.noreply.github.com', 'username': 'vstojkovic-mongodb'}Message: (cherry picked from commit 616fc5509604701f82f69263de71dc570227a626) |
| Comment by Githook User [ 08/Aug/23 ] |
|
Author: {'name': 'vstojkovic-mongodb', 'email': '90724588+vstojkovic-mongodb@users.noreply.github.com', 'username': 'vstojkovic-mongodb'}Message: (cherry picked from commit 616fc5509604701f82f69263de71dc570227a626) |
| Comment by Githook User [ 20/Jul/23 ] |
|
Author: {'name': 'vstojkovic-mongodb', 'email': '90724588+vstojkovic-mongodb@users.noreply.github.com', 'username': 'vstojkovic-mongodb'}Message: (cherry picked from commit 616fc5509604701f82f69263de71dc570227a626) |
| Comment by Githook User [ 14/Jul/23 ] |
|
Author: {'name': 'vstojkovic-mongodb', 'email': '90724588+vstojkovic-mongodb@users.noreply.github.com', 'username': 'vstojkovic-mongodb'}Message: |
| Comment by Blake Oler [ 22/Nov/22 ] |
|
Keeping this closed with context that we're working on refactoring NetworkInterface in the near future – PM-2767. |
| Comment by Lauren Lewis (Inactive) [ 24/Feb/22 ] |
|
We haven’t heard back from you for at least one calendar year, so this issue is being closed. If this is still an issue for you, please provide additional information and we will reopen the ticket. |