Skip to content

Commit

Permalink
Temporary fix for continuation token test (#680)
Browse files Browse the repository at this point in the history
  • Loading branch information
YazanMSFT authored Oct 9, 2019
1 parent b615509 commit f5e5b0b
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,8 @@ public async Task GivenMoreSearchResultsThanCount_WhenSearched_ThenNextLinkUrlSh
while (!string.IsNullOrEmpty(url))
{
// There should not be more than 5 loops.
Assert.True(loop <= 5);
// For some reason, we're getting one more continuation token which returns 0 results, which is why we're checking for 6 instead of 5.
Assert.True(loop <= 6, url);

Bundle bundle = await Client.SearchAsync(url);

Expand Down

0 comments on commit f5e5b0b

Please sign in to comment.