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

Bump SonarAnalyzer.CSharp from 9.11.0.78383 to 9.12.0.78982 #1690

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<PackageVersion Include="Polly.Testing" Version="$(PollyVersion)" />
<PackageVersion Include="Polly.Contrib.WaitAndRetry" Version="1.1.1" />
<PackageVersion Include="ReportGenerator" Version="5.1.26" />
<PackageVersion Include="SonarAnalyzer.CSharp" Version="9.11.0.78383" />
<PackageVersion Include="SonarAnalyzer.CSharp" Version="9.12.0.78982" />
<PackageVersion Include="StyleCop.Analyzers" Version="1.2.0-beta.507" />
<PackageVersion Include="System.ComponentModel.Annotations" Version="4.5.0" />
<PackageVersion Include="System.Diagnostics.DiagnosticSource" Version="$(MicrosoftExtensionsVersion)" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public static ResiliencePipelineBuilder<TResult> AddChaosResult<TResult>(this Re
{
Enabled = enabled,
InjectionRate = injectionRate,
Outcome = new(result)
Outcome = new Outcome<TResult>(result)
});
return builder;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public class OutcomeChaosPipelineBuilderExtensionsTests
InjectionRate = 0.6,
Enabled = true,
Randomizer = () => 0.5,
Outcome = new(100)
Outcome = new Outcome<int>(100)
});

AssertResultStrategy(builder, true, 0.6, new(100))
Expand All @@ -28,7 +28,7 @@ public class OutcomeChaosPipelineBuilderExtensionsTests
{
builder =>
{
builder.AddChaosFault<string>(new FaultStrategyOptions
builder.AddChaosFault(new FaultStrategyOptions
{
InjectionRate = 0.6,
Enabled = true,
Expand Down