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

Remove automaticMigrationAcceptanceTest #15418

Closed
wants to merge 2 commits into from

Conversation

evantahler
Copy link
Contributor

@evantahler evantahler commented Aug 8, 2022

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?

  • This commit just disables the test - 177596b
  • This commit removes the test entirely (along with related resources) - 977f06f

@evantahler evantahler temporarily deployed to more-secrets August 8, 2022 19:42 Inactive
@evantahler evantahler changed the title disable testAutomaticMigration Disable testAutomaticMigration Aug 8, 2022
@evantahler evantahler temporarily deployed to more-secrets August 8, 2022 20:38 Inactive
@evantahler evantahler marked this pull request as ready for review August 8, 2022 21:22
@evantahler evantahler changed the title Disable testAutomaticMigration Remove testAutomaticMigration Aug 8, 2022
@evantahler evantahler changed the title Remove testAutomaticMigration Remove automaticMigrationAcceptanceTest Aug 8, 2022
@evantahler evantahler changed the title Remove automaticMigrationAcceptanceTest Remove automaticMigrationAcceptanceTest Aug 8, 2022
Copy link
Contributor

@davinchia davinchia left a 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`.

Copy link
Contributor

@cgardens cgardens left a 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.

Copy link
Contributor

@jdpgrailsdev jdpgrailsdev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@evantahler evantahler force-pushed the evan/disableTestAutomaticMigration branch from 977f06f to 177596b Compare August 9, 2022 23:46
@evantahler evantahler temporarily deployed to more-secrets August 9, 2022 23:50 Inactive
@evantahler
Copy link
Contributor Author

Something happened with this PR... Github got very mad when I force-pushed... recreating

@evantahler evantahler closed this Aug 10, 2022
@evantahler evantahler deleted the evan/disableTestAutomaticMigration branch August 10, 2022 00:02
@evantahler evantahler restored the evan/disableTestAutomaticMigration branch August 10, 2022 00:03
@evantahler evantahler temporarily deployed to more-secrets August 10, 2022 00:05 Inactive
@evantahler
Copy link
Contributor Author

#15497 has the modified/simpler test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants