From 00fb3fb2d811e11e05e437b08fbc8171c7fcde0c Mon Sep 17 00:00:00 2001 From: Christy Henriksson Date: Fri, 10 Mar 2017 10:23:45 -0800 Subject: [PATCH] Fix concurrent push test by disabling search hijacking on feed (#3641) --- .../ODataFeeds/V2FeedExtendedTests.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/NuGetGallery.FunctionalTests/ODataFeeds/V2FeedExtendedTests.cs b/tests/NuGetGallery.FunctionalTests/ODataFeeds/V2FeedExtendedTests.cs index daebbe433c..2c2c4e878f 100644 --- a/tests/NuGetGallery.FunctionalTests/ODataFeeds/V2FeedExtendedTests.cs +++ b/tests/NuGetGallery.FunctionalTests/ODataFeeds/V2FeedExtendedTests.cs @@ -211,6 +211,7 @@ private async Task CheckPackageLatestVersions(string packageId, List ver foreach (var version in versions) { var feedUrl = $"{UrlHelper.V2FeedRootUrl}/Packages?$filter=Id eq '{packageId}' and Version eq '{version}'" + + "and 1 eq 1" + // Disable search hijacking to get immediate results. "&$select=Id,Version,IsLatestVersion,IsAbsoluteLatestVersion"; var packageDetails = await _odataHelper.GetPackagePropertiesFromResponse(feedUrl, packageId, version); Assert.NotNull(packageDetails);