Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Revisit remaining NonParallelizable and Ignore - #6339

#6339
Merged
NinoFloris merged 5 commits into
npgsql:mainnpgsql/npgsql:mainfrom
NinoFloris:revisit-testsNinoFloris/npgsql:revisit-testsCopy head branch name to clipboard
Nov 20, 2025
Merged

Revisit remaining NonParallelizable and Ignore#6339
NinoFloris merged 5 commits into
npgsql:mainnpgsql/npgsql:mainfrom
NinoFloris:revisit-testsNinoFloris/npgsql:revisit-testsCopy head branch name to clipboard

Conversation

@NinoFloris

Copy link
Copy Markdown
Member

Closes #4103

Copilot AI review requested due to automatic review settings November 20, 2025 17:29

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull Request Overview

This PR addresses issue #4103 by removing or updating [NonParallelizable] and [Ignore] test attributes that are no longer necessary. The changes enable previously disabled tests to run and updates them with corrected assertions and expectations.

  • Removes [NonParallelizable] attributes from tests that no longer require sequential execution
  • Re-enables multiple previously ignored tests with updated assertions to match current behavior
  • Updates test expectations for parameter type inference to reflect Unknown instead of Text for null/DBNull values
  • Corrects test data and assertions in DataAdapter tests

Reviewed Changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
test/Npgsql.Tests/Types/TextTests.cs Removes [NonParallelizable] from Citext_as_string test
test/Npgsql.Tests/Types/RangeTests.cs Removes [NonParallelizable] from Unmapped_range_with_mapped_subtype test
test/Npgsql.Tests/Types/MultirangeTests.cs Removes [NonParallelizable] from Unmapped_multirange_with_mapped_subtype test
test/Npgsql.Tests/TypeMapperTests.cs Removes [NonParallelizable] from two citext-related tests and clarifies comment for remaining one
test/Npgsql.Tests/NpgsqlParameterTests.cs Re-enables three previously ignored tests with updated expectations for type inference behavior, removes unused import
test/Npgsql.Tests/DataAdapterTests.cs Re-enables five tests with corrected column names, assertions, and table schema definition
test/Npgsql.Tests/CopyTests.cs Re-enables test with corrected exception type expectation (NpgsqlException instead of IOException)
test/Npgsql.Tests/ConnectionTests.cs Replaces hard [Ignore] with conditional multiplexing check and updates expected error code

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread test/Npgsql.Tests/NpgsqlParameterTests.cs Outdated
Comment thread test/Npgsql.Tests/DataAdapterTests.cs Outdated
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings November 20, 2025 17:35
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull Request Overview

Copilot reviewed 8 out of 8 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copilot AI review requested due to automatic review settings November 20, 2025 17:50

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull Request Overview

Copilot reviewed 8 out of 8 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@roji roji left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Just hoping this doesn't introduce flakiness into the build - am assuming these are fine since we switched to data source (which provides isolation)?

Comment thread test/Npgsql.Tests/NpgsqlParameterTests.cs
@NinoFloris
NinoFloris merged commit eaa88b8 into npgsql:main Nov 20, 2025
19 checks passed
@NinoFloris
NinoFloris deleted the revisit-tests branch March 11, 2026 02:09
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.

Make more tests parallelizable

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.