Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix exchange manager tests to handle losing timeslice better. (#27872)
We could get into a situation where we lost the timeslice after the SendMessage call and before we asserted the response timeout had not happened yet, which would cause the test to fail. The changes here are: 1) Move the assert that we are not timed out to _before_ SendMessage(). This ensures that our state is correct up front, and generally nothing under SendMessage proper or sending the message should trigger a timeout per se. 2) Use more slack when waiting for the timeout, just in case. Fixes #27479
- Loading branch information