Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve test suite to avoid some possible race conditions #185

Merged
merged 1 commit into from
Jan 1, 2019

Conversation

clue
Copy link
Member

@clue clue commented Jan 1, 2019

This PR improves the test suite to avoid some possible race conditions for our TLS tests. It does not change anything about the actual behavior or the expected output, but it helps making the expected output more explicit and no longer subject to a possible race condition. Besides avoiding possible false negatives, this is also a prerequisite for the upcoming changes to bring in TLS 1.3 support via #184.

@clue clue added this to the v1.2.0 milestone Jan 1, 2019
@jsor jsor merged commit a915115 into reactphp:master Jan 1, 2019
@clue clue deleted the tests-race branch January 2, 2019 10:24
clue added a commit to clue-labs/socket that referenced this pull request May 26, 2019
This PR improves the test suite to avoid a possible race condition for
our TLS tests. It does not change anything about the actual behavior or
the expected output, but it helps making the expected output more
explicit and no longer subject to a possible race condition. This helps
avoiding possible false negatives if TLS 1.3 is supported and PHP
reports the EOF indicator before consuming all application data.

This builds on top of reactphp#185 and
reactphp#186
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants