Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Security Solution] Reduce flakiness in functions for installing Flee…
…t package with prebuilt rules (elastic#204823) **Fixes: elastic#204812 ## Summary This PR increases the total timeout for installing the prebuilt rules package from the API integration tests from 2 minutes to 6 minutes, where 6 minutes = 2 minutes * 3 attempts. Logic before the fix: - If the first attempt takes more than 2 minutes, it will continue to run. - If the first attempt takes less than 2 minutes, there will be a second one. - If the first attempt takes more than 2 minutes, there won't be a second one. Logic after the fix: - If the first attempt takes more than 2 minutes, it will continue to run. - If the first attempt takes less than 2 minutes, there will be a second one. - If the first attempt takes more than 2 minutes but less than 6, there will be a second one. - If the first attempt takes more than 6 minutes, there won't be a second one. Context: elastic#204812 (comment) ### 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 39091fc)
- Loading branch information