Skip to content
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

Reset the db before runs #305

Merged
merged 3 commits into from May 11, 2024
Merged

Reset the db before runs #305

merged 3 commits into from May 11, 2024

Conversation

montehurd
Copy link
Collaborator

@montehurd montehurd commented May 11, 2024

We were seeing this error:

MediaWiki_Enable_Event_Registration_logged-in_0_main_4_desktop-widest

The issue was related to the renaming of a table

The issue was seen when Pixel ran reference, then ran test, then ran reference again subsequently

I think this is because test, which runs on a newer commit, had the change, but then the next reference run was runs on older commits, didn't yet have them ( in the release reference uses )

The reset-db.sh script is quick and causes the schema to be as expected before each run

There's probably a more direct way to reset the db (we tried calling update.php in the mediawiki container) but reset-db.sh is really fast

@montehurd montehurd merged commit b8e99a7 into wikimedia:main May 11, 2024
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant