From 14fa363053f43ca71466e0eaad717296f86561c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20C=C3=B4t=C3=A9?= Date: Thu, 31 Oct 2024 09:53:55 -0400 Subject: [PATCH] Fix flaky connector adapters test (#198396) Resolves https://github.com/elastic/kibana/issues/198388 In this PR, I'm increasing the rule frequency to avoid rule actions running multiple times when asserting for the action to only have ran once. Flaky test runner: - https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/7307 --- .../security_and_spaces/group4/tests/alerting/alerts.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/test/alerting_api_integration/security_and_spaces/group4/tests/alerting/alerts.ts b/x-pack/test/alerting_api_integration/security_and_spaces/group4/tests/alerting/alerts.ts index 7e1f824a50b0c..a1c645f7a4122 100644 --- a/x-pack/test/alerting_api_integration/security_and_spaces/group4/tests/alerting/alerts.ts +++ b/x-pack/test/alerting_api_integration/security_and_spaces/group4/tests/alerting/alerts.ts @@ -1901,7 +1901,7 @@ instanceStateValue: true */ const response = await alertUtils.createAlwaysFiringSystemAction({ reference, - overwrites: { schedule: { interval: '1s' } }, + overwrites: { schedule: { interval: '1m' } }, }); expect(response.status).to.eql(200);