Skip to content
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

Implement retry until success for restore_api_key() call in CTS test #595

Closed
aseure opened this issue Jul 17, 2020 · 1 comment
Closed

Comments

@aseure
Copy link
Contributor

aseure commented Jul 17, 2020

Because of the way Algolia is designed, performing a restoreApiKey may not
succeed because the previous deleteApiKey takes some time to get propagated
to all Algolia servers, giving us the following response: [404] Key already exists.

To prevent that, we need to change the testApiKeys CTS test, if implemented,
to retry even on [404] Key already exists response.

@aseure
Copy link
Contributor Author

aseure commented Jul 17, 2020

Closing since the CTS is not implemented (will be when/if we're moving to a v2 of the client).

@aseure aseure closed this as completed Jul 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant