Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Throttle tests extra when running from the command line on Windows (b…
…oth in CI and locally)
  • Loading branch information
bkoelman committed Aug 16, 2025
commit e8610cb3dfe203b5603ae6d9b6b52f76bddc398d
2 changes: 1 addition & 1 deletion test/TestBuildingBlocks/IntegrationTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public abstract class IntegrationTest : IAsyncLifetime

private static SemaphoreSlim GetDefaultThrottleSemaphore()
{
int maxConcurrentTestRuns = OperatingSystem.IsWindows() && Environment.GetEnvironmentVariable("CI") != null ? 32 : 64;
int maxConcurrentTestRuns = OperatingSystem.IsWindows() && string.IsNullOrEmpty(Environment.GetEnvironmentVariable("VSAPPIDDIR")) ? 32 : 64;
return new SemaphoreSlim(maxConcurrentTestRuns);
}

Expand Down
Loading