diff --git a/x-pack/test/security_solution_api_integration/test_suites/detections_response/utils/rules/prebuilt_rules/install_fleet_package_by_url.ts b/x-pack/test/security_solution_api_integration/test_suites/detections_response/utils/rules/prebuilt_rules/install_fleet_package_by_url.ts index b88a848758a8f..c01968e17cd93 100644 --- a/x-pack/test/security_solution_api_integration/test_suites/detections_response/utils/rules/prebuilt_rules/install_fleet_package_by_url.ts +++ b/x-pack/test/security_solution_api_integration/test_suites/detections_response/utils/rules/prebuilt_rules/install_fleet_package_by_url.ts @@ -13,7 +13,7 @@ import expect from 'expect'; import { refreshSavedObjectIndices } from '../../refresh_index'; const MAX_RETRIES = 2; -const ATTEMPT_TIMEOUT = 120000; +const TOTAL_TIMEOUT = 6 * 60000; // 6 mins, applies to all attempts (1 + MAX_RETRIES) /** * Installs latest available non-prerelease prebuilt rules package `security_detection_engine`. @@ -46,7 +46,7 @@ export const installPrebuiltRulesPackageViaFleetAPI = async ( }, { retryCount: MAX_RETRIES, - timeout: ATTEMPT_TIMEOUT, + timeout: TOTAL_TIMEOUT, } ); @@ -87,7 +87,7 @@ export const installPrebuiltRulesPackageByVersion = async ( }, { retryCount: MAX_RETRIES, - timeout: ATTEMPT_TIMEOUT, + timeout: TOTAL_TIMEOUT, } ); diff --git a/x-pack/test/security_solution_api_integration/test_suites/detections_response/utils/rules/prebuilt_rules/install_prebuilt_rules_fleet_package.ts b/x-pack/test/security_solution_api_integration/test_suites/detections_response/utils/rules/prebuilt_rules/install_prebuilt_rules_fleet_package.ts index f7a7337d40241..dc5def47abaee 100644 --- a/x-pack/test/security_solution_api_integration/test_suites/detections_response/utils/rules/prebuilt_rules/install_prebuilt_rules_fleet_package.ts +++ b/x-pack/test/security_solution_api_integration/test_suites/detections_response/utils/rules/prebuilt_rules/install_prebuilt_rules_fleet_package.ts @@ -18,7 +18,7 @@ import expect from 'expect'; import { refreshSavedObjectIndices } from '../../refresh_index'; const MAX_RETRIES = 2; -const ATTEMPT_TIMEOUT = 120000; +const TOTAL_TIMEOUT = 6 * 60000; // 6 mins, applies to all attempts (1 + MAX_RETRIES) /** * Installs the `security_detection_engine` package via fleet API. This will @@ -60,7 +60,7 @@ export const installPrebuiltRulesFleetPackage = async ({ }, { retryCount: MAX_RETRIES, - timeout: ATTEMPT_TIMEOUT, + timeout: TOTAL_TIMEOUT, } ); @@ -94,7 +94,7 @@ export const installPrebuiltRulesFleetPackage = async ({ }, { retryCount: MAX_RETRIES, - timeout: ATTEMPT_TIMEOUT, + timeout: TOTAL_TIMEOUT, } );