Please check if the PR fulfills these requirements
[ ] The commit message follows our guidelines
[x] Tests for the changes have been added (for bug fixes/features)
[ ] Docs have been added / updated (for bug fixes / features)
What kind of change does this PR introduce?
This PR includes fixes that allow tests that require .refresh() to pass due to the recent silent blocking of the /refresh endpoint on cloud reverse proxy.
What is the current behavior? (You can also link to an open issue here)
some tests fail due to inconsistencies in the document count since we silently block the /refresh endpoint on cloud.
What is the new behavior (if this is a feature change)?
Adding some sleep calls allow the index to rely on the automatic refresh built in by marqo to update the documents on the index.
Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)
No
Other information:
Screenshot of tests now passing on my local machine
Please check if the PR fulfills these requirements
[ ] The commit message follows our guidelines
[x] Tests for the changes have been added (for bug fixes/features)
[ ] Docs have been added / updated (for bug fixes / features)
What kind of change does this PR introduce? This PR includes fixes that allow tests that require .refresh() to pass due to the recent silent blocking of the
/refresh
endpoint on cloud reverse proxy.What is the current behavior? (You can also link to an open issue here) some tests fail due to inconsistencies in the document count since we silently block the
/refresh
endpoint on cloud.What is the new behavior (if this is a feature change)? Adding some sleep calls allow the index to rely on the automatic refresh built in by marqo to update the documents on the index.
Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?) No
Other information: Screenshot of tests now passing on my local machine