Skip to content

Commit f857dc8

Browse files
authored
Reduce number of pushed duplicate packages (#8369)
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
1 parent e53e623 commit f857dc8

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

tests/NuGetGallery.FunctionalTests/PackageCreation/ApiPushTests.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@ public async Task DuplicatePushesAreRejectedAndNotDeleted()
3535
// Arrange
3636
var packageId = $"{nameof(DuplicatePushesAreRejectedAndNotDeleted)}.{Guid.NewGuid():N}";
3737

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

0 commit comments

Comments
 (0)