Repository navigation
test: Skip tests that fail on MySQL servers - #643
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Hr1rd5PUWgaCJzotWt9NhJ
Member
Author
Accepted limitationsThe clean review found nothing above Low. The skipped tests match the MySQL failures on
Generated by Claude Code |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
An alternative to #641 for #638, for now: the tests that fail in CI's "MySQL server" job are skipped on MySQL servers. There are no package code changes.
tests/testthat/helper-server.Rhasskip_if_mysql_server(). It asks the server forVERSION()and skips unless the server is MariaDB. Each test calls it right after connecting, before any query that another query would cancel.test-dbBind-types.R, two intest-dbBind-completed.R, one intest-dbBind.R("MySQL server: placeholder typing differs (On MySQL 8.4,SELECT ?returns the parameter as character or empty string, and dbBind tests fail #638)"), and the one intest-fetch-error.R("MySQL server: can't reopen a TEMPORARY table (On MySQL 8.4,SELECT ?returns the parameter as character or empty string, and dbBind tests fail #638)").This does not fix #638's wrong value. On MySQL,
SELECT ? AS xwith 1.5 still returns"", and any value MySQL has to convert to a string can be cut off the same way. #638 should stay open for #641 or another fix.Tests: the local database server is down, so nothing ran locally. A full-matrix CI run for 537b8fc is pending; I'll check
[ FAIL 0in the logs of the three server jobs, because their job status can be green with a failing test.Accepted limitations
https://claude.ai/code/session_01Hr1rd5PUWgaCJzotWt9NhJ
Generated by Claude Code