-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Security Solution] Fix flaky test for multiLineStringDiffAlgorithm #205038
[Security Solution] Fix flaky test for multiLineStringDiffAlgorithm #205038
Conversation
Pinging @elastic/security-detection-rule-management (Team:Detection Rule Management) |
Pinging @elastic/security-solution (Team: SecuritySolution) |
Pinging @elastic/security-detections-response (Team:Detections and Resp) |
218c892
to
e17a280
Compare
/ci |
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.
lgtm! I agree if we have to bump it even higher we start to lose the point of the test but I guess we can cross that bridge when (if) we come to it
e17a280
to
8e3375a
Compare
Starting backport for target branches: 8.16, 8.17, 8.x https://github.com/elastic/kibana/actions/runs/12466179256 |
💚 Build Succeeded
Metrics [docs]
History
cc @banderror |
…lastic#205038) **Fixes: elastic#205014 ## Summary This test on CI runs at least 10x slower than locally, and apparently even 1000ms timeout is not enough. Bumping it to 2000ms and hopefully that will be it. Not sure if it makes sense to bump it even higher, because we need this threshold to be reasonably low, and more than 2 seconds doesn't sound low for local test runs. ### Checklist - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios - [ ] [Flaky Test Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was used on any tests changed (cherry picked from commit 8e0561a)
…lastic#205038) **Fixes: elastic#205014 ## Summary This test on CI runs at least 10x slower than locally, and apparently even 1000ms timeout is not enough. Bumping it to 2000ms and hopefully that will be it. Not sure if it makes sense to bump it even higher, because we need this threshold to be reasonably low, and more than 2 seconds doesn't sound low for local test runs. ### Checklist - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios - [ ] [Flaky Test Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was used on any tests changed (cherry picked from commit 8e0561a)
…lastic#205038) **Fixes: elastic#205014 ## Summary This test on CI runs at least 10x slower than locally, and apparently even 1000ms timeout is not enough. Bumping it to 2000ms and hopefully that will be it. Not sure if it makes sense to bump it even higher, because we need this threshold to be reasonably low, and more than 2 seconds doesn't sound low for local test runs. ### Checklist - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios - [ ] [Flaky Test Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was used on any tests changed (cherry picked from commit 8e0561a)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…rithm (#205038) (#205081) # Backport This will backport the following commits from `main` to `8.16`: - [[Security Solution] Fix flaky test for multiLineStringDiffAlgorithm (#205038)](#205038) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Georgii Gorbachev","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-12-23T11:36:28Z","message":"[Security Solution] Fix flaky test for multiLineStringDiffAlgorithm (#205038)\n\n**Fixes: https://github.com/elastic/kibana/issues/205014**\r\n\r\n## Summary\r\n\r\nThis test on CI runs at least 10x slower than locally, and apparently\r\neven 1000ms timeout is not enough.\r\n\r\nBumping it to 2000ms and hopefully that will be it. Not sure if it makes\r\nsense to bump it even higher, because we need this threshold to be\r\nreasonably low, and more than 2 seconds doesn't sound low for local test\r\nruns.\r\n\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios\r\n- [ ] [Flaky Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was\r\nused on any tests changed","sha":"8e0561a27b99a99d1b279e6f152b17622a685f1c","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["test","release_note:skip","v9.0.0","Team:Detections and Resp","Team: SecuritySolution","Team:Detection Rule Management","Feature:Prebuilt Detection Rules","backport:version","v8.18.0","v8.16.3","v8.17.1"],"title":"[Security Solution] Fix flaky test for multiLineStringDiffAlgorithm","number":205038,"url":"https://github.com/elastic/kibana/pull/205038","mergeCommit":{"message":"[Security Solution] Fix flaky test for multiLineStringDiffAlgorithm (#205038)\n\n**Fixes: https://github.com/elastic/kibana/issues/205014**\r\n\r\n## Summary\r\n\r\nThis test on CI runs at least 10x slower than locally, and apparently\r\neven 1000ms timeout is not enough.\r\n\r\nBumping it to 2000ms and hopefully that will be it. Not sure if it makes\r\nsense to bump it even higher, because we need this threshold to be\r\nreasonably low, and more than 2 seconds doesn't sound low for local test\r\nruns.\r\n\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios\r\n- [ ] [Flaky Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was\r\nused on any tests changed","sha":"8e0561a27b99a99d1b279e6f152b17622a685f1c"}},"sourceBranch":"main","suggestedTargetBranches":["8.x","8.16","8.17"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/205038","number":205038,"mergeCommit":{"message":"[Security Solution] Fix flaky test for multiLineStringDiffAlgorithm (#205038)\n\n**Fixes: https://github.com/elastic/kibana/issues/205014**\r\n\r\n## Summary\r\n\r\nThis test on CI runs at least 10x slower than locally, and apparently\r\neven 1000ms timeout is not enough.\r\n\r\nBumping it to 2000ms and hopefully that will be it. Not sure if it makes\r\nsense to bump it even higher, because we need this threshold to be\r\nreasonably low, and more than 2 seconds doesn't sound low for local test\r\nruns.\r\n\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios\r\n- [ ] [Flaky Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was\r\nused on any tests changed","sha":"8e0561a27b99a99d1b279e6f152b17622a685f1c"}},{"branch":"8.x","label":"v8.18.0","branchLabelMappingKey":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.16","label":"v8.16.3","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.17","label":"v8.17.1","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Georgii Gorbachev <[email protected]>
…rithm (#205038) (#205082) # Backport This will backport the following commits from `main` to `8.17`: - [[Security Solution] Fix flaky test for multiLineStringDiffAlgorithm (#205038)](#205038) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Georgii Gorbachev","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-12-23T11:36:28Z","message":"[Security Solution] Fix flaky test for multiLineStringDiffAlgorithm (#205038)\n\n**Fixes: https://github.com/elastic/kibana/issues/205014**\r\n\r\n## Summary\r\n\r\nThis test on CI runs at least 10x slower than locally, and apparently\r\neven 1000ms timeout is not enough.\r\n\r\nBumping it to 2000ms and hopefully that will be it. Not sure if it makes\r\nsense to bump it even higher, because we need this threshold to be\r\nreasonably low, and more than 2 seconds doesn't sound low for local test\r\nruns.\r\n\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios\r\n- [ ] [Flaky Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was\r\nused on any tests changed","sha":"8e0561a27b99a99d1b279e6f152b17622a685f1c","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["test","release_note:skip","v9.0.0","Team:Detections and Resp","Team: SecuritySolution","Team:Detection Rule Management","Feature:Prebuilt Detection Rules","backport:version","v8.18.0","v8.16.3","v8.17.1"],"title":"[Security Solution] Fix flaky test for multiLineStringDiffAlgorithm","number":205038,"url":"https://github.com/elastic/kibana/pull/205038","mergeCommit":{"message":"[Security Solution] Fix flaky test for multiLineStringDiffAlgorithm (#205038)\n\n**Fixes: https://github.com/elastic/kibana/issues/205014**\r\n\r\n## Summary\r\n\r\nThis test on CI runs at least 10x slower than locally, and apparently\r\neven 1000ms timeout is not enough.\r\n\r\nBumping it to 2000ms and hopefully that will be it. Not sure if it makes\r\nsense to bump it even higher, because we need this threshold to be\r\nreasonably low, and more than 2 seconds doesn't sound low for local test\r\nruns.\r\n\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios\r\n- [ ] [Flaky Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was\r\nused on any tests changed","sha":"8e0561a27b99a99d1b279e6f152b17622a685f1c"}},"sourceBranch":"main","suggestedTargetBranches":["8.x","8.16","8.17"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/205038","number":205038,"mergeCommit":{"message":"[Security Solution] Fix flaky test for multiLineStringDiffAlgorithm (#205038)\n\n**Fixes: https://github.com/elastic/kibana/issues/205014**\r\n\r\n## Summary\r\n\r\nThis test on CI runs at least 10x slower than locally, and apparently\r\neven 1000ms timeout is not enough.\r\n\r\nBumping it to 2000ms and hopefully that will be it. Not sure if it makes\r\nsense to bump it even higher, because we need this threshold to be\r\nreasonably low, and more than 2 seconds doesn't sound low for local test\r\nruns.\r\n\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios\r\n- [ ] [Flaky Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was\r\nused on any tests changed","sha":"8e0561a27b99a99d1b279e6f152b17622a685f1c"}},{"branch":"8.x","label":"v8.18.0","branchLabelMappingKey":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.16","label":"v8.16.3","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.17","label":"v8.17.1","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Georgii Gorbachev <[email protected]>
…ithm (#205038) (#205083) # Backport This will backport the following commits from `main` to `8.x`: - [[Security Solution] Fix flaky test for multiLineStringDiffAlgorithm (#205038)](#205038) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Georgii Gorbachev","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-12-23T11:36:28Z","message":"[Security Solution] Fix flaky test for multiLineStringDiffAlgorithm (#205038)\n\n**Fixes: https://github.com/elastic/kibana/issues/205014**\r\n\r\n## Summary\r\n\r\nThis test on CI runs at least 10x slower than locally, and apparently\r\neven 1000ms timeout is not enough.\r\n\r\nBumping it to 2000ms and hopefully that will be it. Not sure if it makes\r\nsense to bump it even higher, because we need this threshold to be\r\nreasonably low, and more than 2 seconds doesn't sound low for local test\r\nruns.\r\n\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios\r\n- [ ] [Flaky Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was\r\nused on any tests changed","sha":"8e0561a27b99a99d1b279e6f152b17622a685f1c","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["test","release_note:skip","v9.0.0","Team:Detections and Resp","Team: SecuritySolution","Team:Detection Rule Management","Feature:Prebuilt Detection Rules","backport:version","v8.18.0","v8.16.3","v8.17.1"],"title":"[Security Solution] Fix flaky test for multiLineStringDiffAlgorithm","number":205038,"url":"https://github.com/elastic/kibana/pull/205038","mergeCommit":{"message":"[Security Solution] Fix flaky test for multiLineStringDiffAlgorithm (#205038)\n\n**Fixes: https://github.com/elastic/kibana/issues/205014**\r\n\r\n## Summary\r\n\r\nThis test on CI runs at least 10x slower than locally, and apparently\r\neven 1000ms timeout is not enough.\r\n\r\nBumping it to 2000ms and hopefully that will be it. Not sure if it makes\r\nsense to bump it even higher, because we need this threshold to be\r\nreasonably low, and more than 2 seconds doesn't sound low for local test\r\nruns.\r\n\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios\r\n- [ ] [Flaky Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was\r\nused on any tests changed","sha":"8e0561a27b99a99d1b279e6f152b17622a685f1c"}},"sourceBranch":"main","suggestedTargetBranches":["8.x","8.16","8.17"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/205038","number":205038,"mergeCommit":{"message":"[Security Solution] Fix flaky test for multiLineStringDiffAlgorithm (#205038)\n\n**Fixes: https://github.com/elastic/kibana/issues/205014**\r\n\r\n## Summary\r\n\r\nThis test on CI runs at least 10x slower than locally, and apparently\r\neven 1000ms timeout is not enough.\r\n\r\nBumping it to 2000ms and hopefully that will be it. Not sure if it makes\r\nsense to bump it even higher, because we need this threshold to be\r\nreasonably low, and more than 2 seconds doesn't sound low for local test\r\nruns.\r\n\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios\r\n- [ ] [Flaky Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was\r\nused on any tests changed","sha":"8e0561a27b99a99d1b279e6f152b17622a685f1c"}},{"branch":"8.x","label":"v8.18.0","branchLabelMappingKey":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.16","label":"v8.16.3","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.17","label":"v8.17.1","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Georgii Gorbachev <[email protected]>
…lastic#205038) **Fixes: elastic#205014 ## Summary This test on CI runs at least 10x slower than locally, and apparently even 1000ms timeout is not enough. Bumping it to 2000ms and hopefully that will be it. Not sure if it makes sense to bump it even higher, because we need this threshold to be reasonably low, and more than 2 seconds doesn't sound low for local test runs. ### Checklist - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios - [ ] [Flaky Test Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was used on any tests changed
…lastic#205038) **Fixes: elastic#205014 ## Summary This test on CI runs at least 10x slower than locally, and apparently even 1000ms timeout is not enough. Bumping it to 2000ms and hopefully that will be it. Not sure if it makes sense to bump it even higher, because we need this threshold to be reasonably low, and more than 2 seconds doesn't sound low for local test runs. ### Checklist - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios - [ ] [Flaky Test Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was used on any tests changed
…lastic#205038) **Fixes: elastic#205014 ## Summary This test on CI runs at least 10x slower than locally, and apparently even 1000ms timeout is not enough. Bumping it to 2000ms and hopefully that will be it. Not sure if it makes sense to bump it even higher, because we need this threshold to be reasonably low, and more than 2 seconds doesn't sound low for local test runs. ### Checklist - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios - [ ] [Flaky Test Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was used on any tests changed
Fixes: #205014
Summary
This test on CI runs at least 10x slower than locally, and apparently even 1000ms timeout is not enough.
Bumping it to 2000ms and hopefully that will be it. Not sure if it makes sense to bump it even higher, because we need this threshold to be reasonably low, and more than 2 seconds doesn't sound low for local test runs.
Checklist