Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 1 addition & 1 deletion eng/Common.globalconfig
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ dotnet_diagnostic.CA2014.severity = warning
dotnet_diagnostic.CA2015.severity = warning

# Forward the 'CancellationToken' parameter to methods that take one
dotnet_diagnostic.CA2016.severity = suggestion
dotnet_diagnostic.CA2016.severity = warning

# Review SQL queries for security vulnerabilities
dotnet_diagnostic.CA2100.severity = none
Expand Down
2 changes: 1 addition & 1 deletion src/Build.UnitTests/ProjectCache/ProjectCacheTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ public override async Task<CacheResult> GetCacheResultAsync(

if (_projectQuerySleepTime is not null)
{
await Task.Delay(_projectQuerySleepTime.Value);
await Task.Delay(_projectQuerySleepTime.Value, cancellationToken);
}

QueryStartStops.Enqueue(queryId);
Expand Down