Fix an issue with tests hanging when waiting for the external binary to exit
When running all the PollingOverWebSocket tests locally, I was able to replicate hanging tests every run/couple of runs. Killing some of the CompatBinaries would normally make the tests continue with a handful of failures.
With the fixes in this PR, I am able to run the full suite of PollingOverWebSocket tests over and over. It's still not perfect and often fails after 6+ runs (run until failure) but it is a lot more stable.
How to review this PR
Quality :heavy_check_mark:
Pre-requisites
[ ] I have read How we use GitHub Issues for help deciding when and where it's appropriate to make an issue.
[ ] I have considered informing or consulting the right people, according to the ownership map.
[ ] I have considered appropriate testing for my change.
Background
Fix an issue with tests hanging when waiting for the external binary to exit
When running all the PollingOverWebSocket tests locally, I was able to replicate hanging tests every run/couple of runs. Killing some of the CompatBinaries would normally make the tests continue with a handful of failures.
With the fixes in this PR, I am able to run the full suite of PollingOverWebSocket tests over and over. It's still not perfect and often fails after 6+ runs (run until failure) but it is a lot more stable.
How to review this PR
Quality :heavy_check_mark:
Pre-requisites