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

Update migration tests to remove set_config calls #3373

Merged

Conversation

xhfanhe
Copy link
Contributor

@xhfanhe xhfanhe commented Jan 7, 2025

Description

Previous commit #3096 has restricted the configurations including role and migration mode, which makes babelfish_migration_mode tests no longer runnable.

To address it, this commit separate the tests into single-db (general test) and multi-db (during upgrade) versions to ensure test coverage.

Note that this commit is only for 2X branch due to the JDBC framework difference between 2X and 3X+. Tests in 3X and later branches are already fixed.

Test Scenarios Covered

  • Use case based -

  • Boundary conditions -

  • Arbitrary inputs -

  • Negative test cases -

  • Minor version upgrade tests -

  • Major version upgrade tests -

  • Performance tests -

  • Tooling impact -

  • Client tests -

Check List

  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is under the terms of the Apache 2.0 and PostgreSQL licenses, and grant any person obtaining a copy of the contribution permission to relicense all or a portion of my contribution to the PostgreSQL License solely to contribute all or a portion of my contribution to the PostgreSQL open source project.

For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Previous commit has restricted the configurations including role and
migration mode, which makes babelfish_migration_mode tests no longer
runnable.

To address it, this commit separate the tests into single-db (general
test) and multi-db (during upgrade) versions to ensure test coverage.

Note that this commit is only for 2X branch due to the JDBC framework
difference between 2X and 3X+. Tests in 3X and later branches are
already fixed.

Signed-off-by: Xiaohui Fanhe <[email protected]>
Signed-off-by: Xiaohui Fanhe <[email protected]>
@xhfanhe xhfanhe requested a review from KushaalShroff January 8, 2025 21:11
@xhfanhe xhfanhe merged commit d45de24 into babelfish-for-postgresql:BABEL_2_X_DEV Jan 9, 2025
30 checks passed
@xhfanhe xhfanhe deleted the hexiaohu-test branch January 9, 2025 16:50
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.

3 participants