Skip to content

✅ Update ResponseReader, UIDFetchData, DeprecatedClientOptions tests #476

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

Merged
merged 3 commits into from
May 8, 2025

Conversation

nevans
Copy link
Collaborator

@nevans nevans commented May 8, 2025

Splits up ResponseReader tests and UIDFetchData into more fine-grained tests. Different parts of these test pass or fail on TruffleRuby or JRuby, so splitting them off into their own tests lets us mark only specific bits as pending or omitted.

The DeprecatedClientOptions tests weren't even using the correct port for the fake server, and weren't supposed to be capable of connecting anyway, so there is reason to start the server up at all. Also, we have issues with reliably shutting the server down after an error, for both TruffleRuby and JRuby.

(See #470.)

nevans added 3 commits May 8, 2025 18:39
TruffleRuby handles `io.gets(CRLF, limit)` differently when the limit
cuts in the middle of the terminator.  It's helpful behavior, but it's
different enough to break the tests.
Different parts of these test pass or fail on TruffleRuby or JRuby, so
I'm splitting them off into their own tests.
These tests weren't even using the correct port for the fake server, so
there is reason to start it up at all.

Also, we have issues with reliably shutting the server down after an
error, for both TruffleRuby and JRuby.
@nevans nevans changed the title Test cleanup ✅ Test cleanup May 8, 2025
@nevans nevans changed the title ✅ Test cleanup ✅ Test cleanup (ResponseReader, UIDFetchData, DeprecatedClientOptions) May 8, 2025
@nevans nevans changed the title ✅ Test cleanup (ResponseReader, UIDFetchData, DeprecatedClientOptions) ✅ Update ResponseReader, UIDFetchData, DeprecatedClientOptions tests May 8, 2025
@nevans nevans merged commit dc8004d into master May 8, 2025
35 of 37 checks passed
@nevans nevans deleted the test-cleanup branch May 8, 2025 22:54
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.

1 participant