Skip to content

Conversation

@nevans
Copy link
Collaborator

@nevansnevans 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.
@nevansnevans changed the title Test cleanup✅ Test cleanupMay 8, 2025
@nevansnevans changed the title ✅ Test cleanup✅ Test cleanup (ResponseReader, UIDFetchData, DeprecatedClientOptions)May 8, 2025
@nevansnevans changed the title ✅ Test cleanup (ResponseReader, UIDFetchData, DeprecatedClientOptions)✅ Update ResponseReader, UIDFetchData, DeprecatedClientOptions testsMay 8, 2025
@nevansnevans merged commit dc8004d into masterMay 8, 2025
35 of 37 checks passed
@nevansnevans deleted the test-cleanup branch May 8, 2025 22:54
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@nevans