Skip to content
Merged
Changes from 1 commit
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
Prev Previous commit
Increase timeout
Increase timeout on test.
  • Loading branch information
martincostello committed Jan 18, 2025
commit 5a120544debcc592576f6f355523b8edbfe2126c
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ namespace Polly.Core.Tests.Issues;

public partial class IssuesTests
{
[Fact(Timeout = 15_000)]
[Fact(Timeout = 30_000)]
public async Task InfiniteRetry_Delay_Does_Not_Overflow_2163()
{
// Arrange
Expand Down Expand Up @@ -35,7 +35,8 @@ public async Task InfiniteRetry_Delay_Does_Not_Overflow_2163()
var strategy = new RetryResilienceStrategy<bool>(options, timeProvider, telemetry);
var pipeline = strategy.AsPipeline();

using var cts = new CancellationTokenSource(Debugger.IsAttached ? TimeSpan.MaxValue : TimeSpan.FromSeconds(10));
using var cts = new CancellationTokenSource(
Debugger.IsAttached ? TimeSpan.MaxValue : TimeSpan.FromSeconds(20));

// Act
var executing = pipeline.ExecuteAsync((_) =>
Expand Down
Loading