-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Networking & Observability
-
Fully Compatible
-
ALL
-
Networking & Obs 2024-12-09, Networking & Obs 2024-12-23
-
200
When scheduling an operation, the NetworkInterfaceMock briefly gives up the lock in case the cancellation future executes inline. However, this can lead to operations getting scheduled interleaving with their cancellation, which may make the continuations run in an unexpected place for tests. Hold the lock throughout enqueuing an operation instead of letting it go.