Skip to content

Commit c1c312b

Browse files
authored
test: fix AsyncDisposeMany thread safety test timeout on CI (#1082)
Increased timeout from 5s to 30s. The original 5s was too tight for CI runners, causing consistent timeouts on slower machines. 100K items retained for thorough coverage.
1 parent bf45445 commit c1c312b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DynamicData.Tests/Cache/AsyncDisposeManyFixture.IntegrationTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ public async Task ItemDisposalsComplete_DisposalsCompletedOccursAndCompletes(Ite
139139
disposalsCompletedResults.HasCompleted.Should().BeTrue("the source and all disposals have completed");
140140
}
141141

142-
[Fact(Timeout = 5_000)]
142+
[Fact(Timeout = 30_000)]
143143
public async Task ItemDisposalsOccurOnMultipleThreads_DisposalIsThreadSafe()
144144
{
145145
using var source = new SourceCache<AsyncDisposableItem, int>(static item => item.Id);

0 commit comments

Comments
 (0)