You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I thought Josh suggested using the less aggressive waitForIndexer, not to remove it altogether?
This was his message in the Disco chat:
Josh Eckels, Mon 10:29 AM @dan Duffek I looked at the SMPipelineStatusTest failure. In the run I checked, it took 65 seconds for the search queue to clear. The test is timing out after 60 seconds. Because the test is calling waitForIndexerBackground(), it's going to wait for the indexing to finish based on the current crawling pass, not just the things that the test actively inserted or updated
Now that the indexer tosses out work connected with containers that are being deleted, my recommendation is to simply remove the call to waitForIndexerBackground()in waitForPendingRequests()
I thought Josh suggested using the less aggressive waitForIndexer, not to remove it altogether?
This was his message in the Disco chat: Josh Eckels, Mon 10:29 AM @dan Duffek I looked at the SMPipelineStatusTest failure. In the run I checked, it took 65 seconds for the search queue to clear. The test is timing out after 60 seconds. Because the test is calling waitForIndexerBackground(), it's going to wait for the indexing to finish based on the current crawling pass, not just the things that the test actively inserted or updated Now that the indexer tosses out work connected with containers that are being deleted, my recommendation is to simply remove the call to waitForIndexerBackground()in waitForPendingRequests()
I'm not sure we need waitForIndexerBackground() at all. waitForIndexer() is good for situations where the test makes a data change and wants to see if it's indexed correctly. There should be no need for either before deleting a container, which is the only usage I see for waitForPendingRequests()
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Rationale
This is no longer needed, and is causing issues with tests (socket timeout failures)
Related Pull Requests
Changes