-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[8.x] Improve task manager functional tests in preperation for mget t…
…ask claimer being the default (#196399) (#197062) # Backport This will backport the following commits from `main` to `8.x`: - [Improve task manager functional tests in preperation for mget task claimer being the default (#196399)](#196399) <!--- Backport version: 8.9.8 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Mike Côté","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-10-21T13:02:59Z","message":"Improve task manager functional tests in preperation for mget task claimer being the default (#196399)\n\nResolves https://github.com/elastic/kibana/issues/184942\r\nResolves https://github.com/elastic/kibana/issues/192023\r\nResolves https://github.com/elastic/kibana/issues/195573\r\n\r\nIn this PR, I'm improving the flakiness found in our functional tests in\r\npreperation for mget being the default task claimer that all these tests\r\nrun with (#194625). Because the\r\nmget task claimer works differently and also polls more frequently, we\r\nend-up in situations where tasks run faster than they were with\r\nupdate_by_query, creating more race conditions that are now fixed in\r\nthis PR.\r\n\r\nIssues were surfaced via https://github.com/elastic/kibana/pull/190148\r\nwhere I set `mget` as the default task claiming strategy.\r\n\r\nFlaky test runs (some of these failed on other tests that are flaky):\r\n-\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/7151\r\n-\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/7169\r\n-\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/7172\r\n-\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/7175\r\n-\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/7176\r\n-\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/7185\r\n(for\r\nhttps://github.com//pull/196399/commits/0fcf1ae68927277a8f544278903edbf5912a1649)","sha":"3b8cf1236b1b6ba67862f35f47fcb250d88ac4c0","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Feature:Task Manager","Team:ResponseOps","v9.0.0","backport:prev-minor","v8.17.0"],"number":196399,"url":"https://github.com/elastic/kibana/pull/196399","mergeCommit":{"message":"Improve task manager functional tests in preperation for mget task claimer being the default (#196399)\n\nResolves https://github.com/elastic/kibana/issues/184942\r\nResolves https://github.com/elastic/kibana/issues/192023\r\nResolves https://github.com/elastic/kibana/issues/195573\r\n\r\nIn this PR, I'm improving the flakiness found in our functional tests in\r\npreperation for mget being the default task claimer that all these tests\r\nrun with (#194625). Because the\r\nmget task claimer works differently and also polls more frequently, we\r\nend-up in situations where tasks run faster than they were with\r\nupdate_by_query, creating more race conditions that are now fixed in\r\nthis PR.\r\n\r\nIssues were surfaced via https://github.com/elastic/kibana/pull/190148\r\nwhere I set `mget` as the default task claiming strategy.\r\n\r\nFlaky test runs (some of these failed on other tests that are flaky):\r\n-\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/7151\r\n-\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/7169\r\n-\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/7172\r\n-\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/7175\r\n-\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/7176\r\n-\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/7185\r\n(for\r\nhttps://github.com//pull/196399/commits/0fcf1ae68927277a8f544278903edbf5912a1649)","sha":"3b8cf1236b1b6ba67862f35f47fcb250d88ac4c0"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/196399","number":196399,"mergeCommit":{"message":"Improve task manager functional tests in preperation for mget task claimer being the default (#196399)\n\nResolves https://github.com/elastic/kibana/issues/184942\r\nResolves https://github.com/elastic/kibana/issues/192023\r\nResolves https://github.com/elastic/kibana/issues/195573\r\n\r\nIn this PR, I'm improving the flakiness found in our functional tests in\r\npreperation for mget being the default task claimer that all these tests\r\nrun with (#194625). Because the\r\nmget task claimer works differently and also polls more frequently, we\r\nend-up in situations where tasks run faster than they were with\r\nupdate_by_query, creating more race conditions that are now fixed in\r\nthis PR.\r\n\r\nIssues were surfaced via https://github.com/elastic/kibana/pull/190148\r\nwhere I set `mget` as the default task claiming strategy.\r\n\r\nFlaky test runs (some of these failed on other tests that are flaky):\r\n-\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/7151\r\n-\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/7169\r\n-\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/7172\r\n-\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/7175\r\n-\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/7176\r\n-\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/7185\r\n(for\r\nhttps://github.com//pull/196399/commits/0fcf1ae68927277a8f544278903edbf5912a1649)","sha":"3b8cf1236b1b6ba67862f35f47fcb250d88ac4c0"}},{"branch":"8.x","label":"v8.17.0","labelRegex":"^v8.17.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT-->
- Loading branch information
Showing
18 changed files
with
174 additions
and
59 deletions.
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
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
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.