-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Remove automaticMigrationAcceptanceTest
#15418
Conversation
testAutomaticMigration
testAutomaticMigration
testAutomaticMigration
testAutomaticMigration
testAutomaticMigration
automaticMigrationAcceptanceTest
automaticMigrationAcceptanceTest
automaticMigrationAcceptanceTest
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm okay with disabling the test. Deleting the test is okay with me as long as we make sure we have some follow up.
One reasonable path forward we discussed was an issue to test the case of 'the latest minor version should always be upgradable to this latest dev version i.e. ./gradlew build`.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Testing back to 0.17.0 is probably not useful at this point.
- I do think that having some sanity check that we are able to upgrade from version X to version Y is useful. It is something that I think is worth having an acceptance test for because there is a little more to the migration than just running a flyway migration.
- Do we know which part is flakey? If the part from 0.32.0 to current is solid, then I would keep that. If the flake is somewhere in these, then I would be in favor of figuring out how to reenable.
So I would be in favor of reducing the scope of the test to more modern versions of airbyte, but still having some sort of acceptance test.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
977f06f
to
177596b
Compare
Something happened with this PR... Github got very mad when I force-pushed... recreating |
#15497 has the modified/simpler test |
This test is currently very flaky and breaking the build
After a chat with @davinchia, we don't feel that this test is providing much value, so we are comfortable disabling it for now to get the build green.
In general, now that we use Flyaway for migrations, what is the benefit of this test? If there are particularly complex migrations in which we modify data, having a unit test makes sense for that migration, but testing that our migrations work all the way back to X version (v0.17.0 in this case) seems to be like we are testing the migration engine itself, and isn't necessary. If we trust our migration engine, and each incremental migration, we should be in a safe place.
Reviewers: In the comments below, please let us know what you think about removing this test entirely, or should we just disable it for now until we can solve the flakiness?