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

Introduce tests for the migration service. #269

Open
saikonen opened this issue Nov 24, 2021 · 0 comments
Open

Introduce tests for the migration service. #269

saikonen opened this issue Nov 24, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@saikonen
Copy link
Collaborator

Suggested Improvement
Introduce tests for the migration service that cover basic acceptance behaviour:

  • Migrations can be applied, and rolled back successfully (no broken migrations exist)
  • Migration service can be introduced after-the-fact to an existing metadata service deployment (No conflicts with migrations with CREATE TABLE that the metadata service has applied)

Motivation
Currently introducing any migrations to the service relies heavily on manual testing and is prone to introducing unexpected issues. We also have the existing issue that the migration service cannot be applied successfully against an existing schema that was created by the metadata service. The migrations should preferably be somewhat idempotent (opting for CREATE IF NOT EXISTS) so the service can be an easy opt-in choice later down the line.

@saikonen saikonen added the enhancement New feature or request label Nov 24, 2021
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