Fix sporadic macOS 14 CI failure #28187
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
quic_tserver_test
would fail sporadically when using thread_assist mode along with fake_time, specifically on macos-14 machine.This PR gives the server more opportunities to process events to keep the it connected to the client while still maintaining the original 60s idle timeout period for the test.
I can't say this will definitely solve the issue, but I was able to confirm that doing the opposite caused the test to fail more often. e.g. when I changed fake_time + OSSL_sleep to increment in intervals of 1000ms, the same test failed much more often. I have run
make test
with my changes 50+ times to confirm that the test now consistently passes: https://github.com/andrewkdinh/openssl/actions/runs/16783870352Fixes openssl/project#1290
Checklist