Skip to content

Commit

Permalink
Reduce number of pushed duplicate packages (#8369)
Browse files Browse the repository at this point in the history
The duplicate package push functional test pushes 160 packages in parallel. This is causing SQL timeouts. To unblock functional tests, we will temporarily reduce the number of duplicated packages we push to just 16. As part of #8368, we will improve the SQL query used to push packages and revert this change.

Part of #8368
  • Loading branch information
loic-sharma authored Jan 8, 2021
1 parent e53e623 commit f857dc8
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ public async Task DuplicatePushesAreRejectedAndNotDeleted()
// Arrange
var packageId = $"{nameof(DuplicatePushesAreRejectedAndNotDeleted)}.{Guid.NewGuid():N}";

int pushVersionCount = 10;
// TODO: Increase this back to 10.
// See: https://github.com/NuGet/NuGetGallery/issues/8368
int pushVersionCount = 1;
var duplicatePushTasks = new List<Task>();
for (var duplicateTaskIndex = 0; duplicateTaskIndex < pushVersionCount; duplicateTaskIndex++)
{
Expand Down

0 comments on commit f857dc8

Please sign in to comment.