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

Integration tests for database migrations #1879

Open
kradalby opened this issue Apr 17, 2024 · 0 comments
Open

Integration tests for database migrations #1879

kradalby opened this issue Apr 17, 2024 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@kradalby
Copy link
Collaborator

between 0.23.0-beta5 and beta6, there was a bad migration that was not detected due to all the tests starting with a fresh database.

We should make a version of some of the base tests (pingall, up down) run with an old database so it has to run through migrations, but we need to find a clever way to inject "old" data so that it is also migrated, not just empty tables.

@kradalby kradalby added the enhancement New feature or request label Apr 17, 2024
@kradalby kradalby added this to the v0.23.0 milestone Apr 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant