Skip to content

Commit

Permalink
Bump the xunit group across 1 directory with 2 updates (App-vNext#2186)
Browse files Browse the repository at this point in the history
* Bump the xunit group across 1 directory with 2 updates

Bumps the xunit group with 2 updates in the / directory: xunit and xunit.runner.visualstudio.


Updates `xunit` from 2.7.0 to 2.9.0

Updates `xunit.runner.visualstudio` from 2.5.7 to 2.8.2

---
updated-dependencies:
- dependency-name: xunit
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: xunit
- dependency-name: xunit.runner.visualstudio
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: xunit
...

Signed-off-by: dependabot[bot] <support@github.com>

* Fix HedgingActionGenerator_EnsureDefaults

Fix test broken by changes to xunit's parallelism algorithm.
See xunit/xunit#3024.

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: martincostello <martin@martincostello.com>
  • Loading branch information
dependabot[bot] and martincostello committed Sep 16, 2024
1 parent c6aaafb commit 957444f
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
<PackageVersion Include="System.Threading.RateLimiting" Version="$(MicrosoftExtensionsVersion)" />
<PackageVersion Include="System.Threading.Tasks.Extensions" Version="4.5.4" />
<PackageVersion Include="System.ValueTuple" Version="4.5.0" />
<PackageVersion Include="xunit" Version="2.7.0" />
<PackageVersion Include="xunit.runner.visualstudio" Version="2.5.7" />
<PackageVersion Include="xunit" Version="2.9.0" />
<PackageVersion Include="xunit.runner.visualstudio" Version="2.8.2" />
</ItemGroup>
</Project>
5 changes: 5 additions & 0 deletions test/Polly.Core.Tests/Polly.Core.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,9 @@
<Using Include="Polly.Core.Tests.Helpers" />
<Using Include="Polly.TestUtils" />
</ItemGroup>

<!-- Workaround for xunit 2.8.0+ change. See https://github.com/xunit/xunit/discussions/3024. -->
<ItemGroup>
<Content Include="xunit.runner.json" CopyToOutputDirectory="PreserveNewest" />
</ItemGroup>
</Project>
4 changes: 4 additions & 0 deletions test/Polly.Core.Tests/xunit.runner.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"$schema": "https://xunit.net/schema/current/xunit.runner.schema.json",
"parallelAlgorithm": "aggressive"
}

0 comments on commit 957444f

Please sign in to comment.