Skip to content

Commit

Permalink
Fix concurrent push test by disabling search hijacking on feed (#3641)
Browse files Browse the repository at this point in the history
  • Loading branch information
chenriksson authored Mar 10, 2017
1 parent f3a9d60 commit 00fb3fb
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ private async Task CheckPackageLatestVersions(string packageId, List<string> 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);
Expand Down

0 comments on commit 00fb3fb

Please sign in to comment.