Skip to content

Replace awaitBusy with assertBusy in atLeastDocsIndexed#38216

Merged
dnhatn merged 1 commit intoelastic:6.xfrom
dnhatn:backport/38190
Feb 1, 2019
Merged

Replace awaitBusy with assertBusy in atLeastDocsIndexed#38216
dnhatn merged 1 commit intoelastic:6.xfrom
dnhatn:backport/38190

Conversation

@dnhatn
Copy link
Copy Markdown
Member

@dnhatn dnhatn commented Feb 1, 2019

Unlike assertBusy, awaitBusy does not retry if the code-block throws an
AssertionError. A refresh in atLeastDocsIndexed can fail because we call
this method while we are closing some node in FollowerFailOverIT.

Backport of #38190

Unlike assertBusy, awaitBusy does not retry if the code-block throws an
AssertionError. A refresh in atLeastDocsIndexed can fail because we call
this method while we are closing some node in FollowerFailOverIT.
@dnhatn dnhatn merged commit 1a8a728 into elastic:6.x Feb 1, 2019
@dnhatn dnhatn deleted the backport/38190 branch February 1, 2019 21:01
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