FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fix `db sizes` test for WP trunk by swissspidy · Pull Request #297 · wp-cli/db-command · GitHub

Fix db sizes test for WP trunk - #297

Merged
swissspidy merged 1 commit into
mainfrom
fix/tests
Sep 8, 2025
Merged

Fix db sizes test for WP trunk#297
swissspidy merged 1 commit into
mainfrom
fix/tests

Conversation

Copy link
Copy Markdown
Member

This test was way too brittle.

The default table size in WP core seems to have changed from 81920 B to 98304 B.

Updating the test to use a regex is more future proof.

swissspidy added the scope:testing Related to testing label Sep 8, 2025

codecov Bot commented Sep 8, 2025

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

swissspidy marked this pull request as ready for review September 8, 2025 08:21
swissspidy requested a review from a team as a code owner September 8, 2025 08:21
swissspidy merged commit c5277fe into main Sep 8, 2025
31 of 43 checks passed
swissspidy deleted the fix/tests branch September 8, 2025 19:28
swissspidy added this to the 2.1.4 milestone Sep 8, 2025
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

Labels

scope:testing Related to testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL