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

Use NpgsqlDataSource in all tests #4882

Merged
merged 19 commits into from
Jan 21, 2023
Merged

Conversation

vonzshik
Copy link
Contributor

Closes #4572

@vonzshik vonzshik requested a review from roji as a code owner January 15, 2023 20:29
Copy link
Member

@roji roji left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for doing all the legwork!

See some comments below, nothing critical that can't be fixed later in a separate PR.

One slight concern is that we now have much less actual test coverage for the non-datasource mode, so things may end up regressing without us knowing. Something to keep in mind.

test/Npgsql.Tests/AutoPrepareTests.cs Show resolved Hide resolved
test/Npgsql.Tests/AutoPrepareTests.cs Show resolved Hide resolved
test/Npgsql.Tests/ConnectionTests.cs Show resolved Hide resolved
test/Npgsql.Tests/DistributedTransactionTests.cs Outdated Show resolved Hide resolved
test/Npgsql.Tests/ExceptionTests.cs Outdated Show resolved Hide resolved
test/Npgsql.Tests/ReaderTests.cs Show resolved Hide resolved
test/Npgsql.Tests/PoolTests.cs Outdated Show resolved Hide resolved
test/Npgsql.Tests/SystemTransactionTests.cs Outdated Show resolved Hide resolved
test/Npgsql.Tests/SystemTransactionTests.cs Outdated Show resolved Hide resolved
test/Npgsql.Tests/SystemTransactionTests.cs Outdated Show resolved Hide resolved
@roji roji force-pushed the 4572-data-sources-all-the-way branch from b39319a to dd67aa5 Compare January 16, 2023 11:07
@roji
Copy link
Member

roji commented Jan 16, 2023

@vonzshik pushed 2 commits to this PR - take a look.

@vonzshik vonzshik enabled auto-merge (squash) January 21, 2023 15:52
@vonzshik vonzshik merged commit e87cff3 into main Jan 21, 2023
@vonzshik vonzshik deleted the 4572-data-sources-all-the-way branch January 21, 2023 15:58
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.

Use NpgsqlDataSource in all tests
2 participants