Skip to content

Commit af0f064

Browse files
thomhurstclaude
andcommitted
test: Add NotInParallel attribute to ProcessInParallel_ActuallyRunsInParallel test
The test was failing when run in parallel with other tests due to timing constraints. Adding NotInParallel ensures the test runs in isolation for accurate timing measurements. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 3ba09d2 commit af0f064

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

EnumerableAsyncProcessor.UnitTests/AsyncEnumerableParallelExtensionsTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ public async Task ProcessInParallel_WithCancellation_ThrowsOperationCanceledExce
104104
}
105105

106106
[Test]
107+
[NotInParallel]
107108
public async Task ProcessInParallel_ActuallyRunsInParallel()
108109
{
109110
var asyncEnumerable = GenerateAsyncEnumerable(5);

0 commit comments

Comments
 (0)