Skip to content

Drop support for MYSQL_TEST_EXPERIMENTAL #15467

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
Aug 18, 2024

Conversation

cmb69
Copy link
Member

@cmb69 cmb69 commented Aug 17, 2024

This environment variable serves to hide (parts of) tests from general execution, and as the test failures show when that environment variable is set, apparently it serves to hide (parts of) test from being executed at all, thus causing test rot.

To avoid this in the future, we drop MYSQL_TEST_EXPERIMENTAL, and fix the failing tests, except for mysqli_get_warnings.phpt, which appears to be broken beyond repair, and whose most important tests are already covered by other test cases.

Copy link
Member

@Girgias Girgias left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for taking care of this :)

cmb69 and others added 3 commits August 18, 2024 00:50
This environment variable serves to hide (parts of) tests from general
execution, and as the test failures show when that environment variable
is set, apparently it serves to hide (parts of) test from being
executed at all, thus causing test rot.

To avoid this in the future, we drop `MYSQL_TEST_EXPERIMENTAL`, and fix
the failing tests, except for mysqli_get_warnings.phpt, which appears
to be broken beyond repair, and whose most important tests are already
covered by other test cases.
@cmb69 cmb69 force-pushed the cmb/MYSQL_TEST_EXPERIMENTAL branch from 39ae5a6 to ea9a0bb Compare August 17, 2024 22:52
@cmb69
Copy link
Member Author

cmb69 commented Aug 17, 2024

I had to rebase due to merge conflict, so I've force-pushed. You may want to review.

Copy link
Member

@kamil-tekiela kamil-tekiela left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good now. Sorry about the merge conflict. I didn't mean to put that change into my PR. I accidently committed it after testing it while working on my PR at the same time.

@cmb69
Copy link
Member Author

cmb69 commented Aug 18, 2024

No problem @kamil-tekiela. I guess that just happens. :)

@cmb69 cmb69 merged commit 7fa2dbf into php:master Aug 18, 2024
10 checks passed
@cmb69 cmb69 deleted the cmb/MYSQL_TEST_EXPERIMENTAL branch August 18, 2024 09:08
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