-
Notifications
You must be signed in to change notification settings - Fork 113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(CTS): add retry on tests #672
Conversation
d7f919f
to
e163670
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a lot cleaner, it looks very nice! 😄 Let me know what you think of my comments.
e163670
to
cb99e00
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems like the tests are failing. Could you please check why?
@DevinCodes I'm doing this as we speak |
cb99e00
to
6724083
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I approved because the changes look good, but the CI is failing for (it seems) unrelated things. Could you quickly take a look please? 🙂 Thank you in advance!
6724083
to
177b329
Compare
177b329
to
f226cf8
Compare
* chore(cts): fix api keys test * chore(CTS): fix flakiness
* feat: add custom dictionary methods (tests still WIP) * chore: add docblocks * feat: update tests * debug: use API key dealer * Revert "debug: use API key dealer" This reverts commit dcf05df. * feat: refactor tests to rely on objectID checks instead of nbHits * feat: finzalize CTS * chore: address feedback * chore: remove unused method * Add missing part of the url for stopABTest() method (#666) * Handling of param array in the $queries array for multipleQueries method (#663) * Add Algolia CTS (#665) * Indexing and Settings tests for SearchIndexTest.php * Add SearchTest method * Add SynonymsTest method * Add testQueryRules method * Add testBatching method * Add testReplacing and testExists methods + move sample data * Add SearchClientTest.php * Add multiQueries test * Adding AccountTest.php and remove usage of SyncClient * Adding SecuredApiKeysTest * Adding AnalyticsClientTest.php * Adding AnalyticsClientTest.php * Adding InsightsClientTest.php * Adding RecommendationClientTest.php + CS fixer * Adding Mcm tests * Add stopAbTest() test * Remove unnecessary files * Handling of param array in the $queries array for multipleQueries method (#663) * Remove unnecessary files * First required changes * Removing self::assert* notations * fix(cts): delete indexes initialisation * Using wait() on saveObject() rather than multiResponse * Removing all static arrays for indices * Removing unwanted setPersonalizationStrategy call * use secured index name * Required changes after code review * Adding loop to check if indices exist before additing the A/B Tests * Adding security into loops * Set cpts to 10 * Set cpts to 20 * Set cpts to 10 * Set cpts to 10 Co-authored-by: Chloe Liban <[email protected]> * chore(CTS): add retry on tests (#672) * chore(cts): fix api keys test * chore(CTS): fix flakiness * Revert "feat: custom dictionaries (#662)" This reverts commit d4e3112. * chore: address feedback * chore: remove unused method * chore(test): fix helper call * fix: rebase Co-authored-by: Devin Beeuwkes <[email protected]> Co-authored-by: Damien Couchez <[email protected]>
Describe your change
Adds a retry strategy to prevent flakiness