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

Add migration tests for idempotency #2257

Open
roji opened this issue Feb 1, 2022 · 1 comment
Open

Add migration tests for idempotency #2257

roji opened this issue Feb 1, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request test
Milestone

Comments

@roji
Copy link
Member

roji commented Feb 1, 2022

When dotnet/efcore#27331 is merged and synced, replace our idempotency tests in NpgsqlMigrationsSqlGeneratorTest with tests in MigrationsNpgsqlTest which actually execute against the database.

@roji roji added enhancement New feature or request test labels Feb 1, 2022
@roji roji added this to the 7.0.0 milestone Feb 1, 2022
@roji roji self-assigned this Feb 1, 2022
@roji
Copy link
Member Author

roji commented Feb 11, 2022

Shoot, the upstream idempotency test infrastructure I added isn't sufficient, since in PG idempotent SQL has to be enclosed in a DO block...

@roji roji modified the milestones: 7.0.0, 8.0.0 Oct 15, 2022
@roji roji modified the milestones: 8.0.0, Backlog Nov 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request test
Projects
None yet
Development

No branches or pull requests

1 participant