-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Fully Compatible
-
ALL
-
-
45
The issue here is that the ARS context is destroyed here after receiving the mocked response for the first command sent in the test, canceling the second pending request with CallbackCanceled. The
The launchAsync future blocks indefinitely and doesn't return because the onCommandForPoolExecutor for second mock response is scheduled to be run on the main test thread.
A simple fix for this is to introduce a failpoint in the code such that it is unpaused only after the second command is scheduled to be run on the mock interface.