Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
martintmk committed Jun 27, 2023
1 parent 7fc9d4b commit 60deab7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public class HedgingResilienceStrategyTests : IDisposable
private static readonly TimeSpan AssertTimeout = TimeSpan.FromSeconds(15);

private readonly HedgingStrategyOptions<string> _options = new();
private readonly List<TelemetryEventArguments> _events = new();
private readonly ConcurrentQueue<TelemetryEventArguments> _events = new();
private readonly ResilienceStrategyTelemetry _telemetry;
private readonly HedgingTimeProvider _timeProvider;
private readonly HedgingActions _actions;
Expand All @@ -27,7 +27,7 @@ public class HedgingResilienceStrategyTests : IDisposable

public HedgingResilienceStrategyTests(ITestOutputHelper testOutput)
{
_telemetry = TestUtilities.CreateResilienceTelemetry(_events.Add);
_telemetry = TestUtilities.CreateResilienceTelemetry(_events.Enqueue);
_timeProvider = new HedgingTimeProvider { AutoAdvance = _options.HedgingDelay };
_actions = new HedgingActions(_timeProvider);
_primaryTasks = new PrimaryStringTasks(_timeProvider);
Expand Down

0 comments on commit 60deab7

Please sign in to comment.