-
Notifications
You must be signed in to change notification settings - Fork 24.9k
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
Fix TasksIT#testGetTaskWaitForCompletionWithoutStoringResult #108094
Merged
+49
−16
Merged
Changes from 10 commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
bf3b27d
Fix TasksIT#testGetTaskWaitForCompletionWithoutStoringResult
arteam 39fb24a
Merge branch 'main' into save-fake-tasks-to-create-task-index
elasticmachine 88eeddc
Merge branch 'main' into save-fake-tasks-to-create-task-index
elasticmachine 9f5224b
Merge branch 'main' into save-fake-tasks-to-create-task-index
elasticmachine 800d56c
Unblock request only after we started waiting for completion
arteam 63396ac
Update comment
arteam 1b2bded
Remove outdated comment
arteam e8241a5
Revert "Fix TasksIT#testGetTaskWaitForCompletionWithoutStoringResult"
arteam 59036cd
Merge branch 'main' into save-fake-tasks-to-create-task-index
elasticmachine f59ff4e
Make sure we register onRemovedTaskListenerRegistered before we wait …
arteam ceea234
Update server/src/main/java/org/elasticsearch/action/admin/cluster/no…
arteam 533dfe6
Merge branch 'main' into save-fake-tasks-to-create-task-index
elasticmachine a928f28
Adjust test for the new task name
arteam a61e9c9
Remove check for removedTaskListener type
arteam f235b87
Make sure the task gets unblocked
arteam 7e6f7de
Revert "Make sure the task gets unblocked"
arteam 26170ea
Remove listener after test finished
arteam File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 seems a bit strange, I think it works without it too, since there should be no other wait for completions going on.
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.
@henningandersen There seems to be a bug in
TestTaskPlugin#TransportTestTaskAction
. It checks whether a task is blocked by runningwaitUntil
for 10 seconds, but doesn't check whetherwaitUntil
finished successfully.