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

fixed returns on retries to not immediatly complete resolves #549 #550

Merged
merged 2 commits into from
Sep 18, 2017

Conversation

jsnoble
Copy link
Member

@jsnoble jsnoble commented Sep 15, 2017

the main issue that I found was that when it entered the retry logic it would not properly return the called function, which the top calling function would then return undefined which singles to the slicer that it finished (even though it really didn't). There was duplicate logic in elasticsearch slicer as well so this had this pitfall as well. We need better intergration tests that can simulate a slight recoverable network issue as well as full blown failure to test more scenarios.

@godber
Copy link
Member

godber commented Sep 15, 2017

I'd think at least both of the functions in error_utils.js are unit testable.

@godber
Copy link
Member

godber commented Sep 18, 2017

This passes integration tests too:

screen shot 2017-09-18 at 2 15 55 pm

@godber godber merged commit 67b9571 into terascope:master Sep 18, 2017
@jsnoble jsnoble deleted the id_slicer_fix branch November 21, 2017 14:40
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

Successfully merging this pull request may close these issues.

2 participants