Skip to content

Remove unnecessary AssemblyInfo.cs from Tasks.Git.UnitTests#1738

Merged
tmat merged 1 commit into
dotnet:mainfrom
jankratochvilcz:jankratochvilcz-remove-unittests-assemblyinfo
Jul 9, 2026
Merged

Remove unnecessary AssemblyInfo.cs from Tasks.Git.UnitTests#1738
tmat merged 1 commit into
dotnet:mainfrom
jankratochvilcz:jankratochvilcz-remove-unittests-assemblyinfo

Conversation

@jankratochvilcz

Copy link
Copy Markdown
Contributor

Removes src/Microsoft.Build.Tasks.Git.UnitTests/AssemblyInfo.cs, which was added in #1734.

The only content of that file was:

[assembly: CollectionBehavior(DisableTestParallelization = true)]

It was added to guard tests that temporarily changed the process current working directory. Those tests no longer mutate the CWD, so disabling test parallelization for the whole assembly is no longer needed.

Addresses this review comment.

The assembly-level CollectionBehavior(DisableTestParallelization = true)
was added to guard tests that temporarily changed the process current
working directory. Those tests no longer mutate the CWD, so disabling
test parallelization for the whole assembly is no longer needed.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@jankratochvilcz jankratochvilcz requested a review from tmat as a code owner July 9, 2026 11:04
@tmat tmat merged commit 8ecdb0c into dotnet:main Jul 9, 2026
9 checks passed
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.

2 participants