Skip to content

fix RethrottleTests retry (#38978)#39131

Merged
talevy merged 1 commit intoelastic:7.xfrom
talevy:7x-b
Feb 19, 2019
Merged

fix RethrottleTests retry (#38978)#39131
talevy merged 1 commit intoelastic:7.xfrom
talevy:7x-b

Conversation

@talevy
Copy link
Copy Markdown
Contributor

@talevy talevy commented Feb 19, 2019

the RethrottleTests assumed that tasks that were
unprepared to rethrottle would bubble up into the
Rethrottle response as an ElasticsearchException
wrapping an IllegalArgumentException. This seems to
have changed to potentially involve further levels of
wrapping.

This change makes the retry logic more resilient to
arbitrary nesting of the underlying IllegalArgumentException

backport of #38978

the RethrottleTests assumed that tasks that were
unprepared to rethrottle would bubble up into the
Rethrottle response as an ElasticsearchException
wrapping an IllegalArgumentException. This seems to
have changed to potentially involve further levels of
wrapping.

This change makes the retry logic more resilient to
arbitrary nesting of the underlying IllegalArgumentException
@talevy talevy merged commit f30f1fe into elastic:7.x Feb 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant