Skip to content

[9.2] [Security Solution] Fix rule's lastRun.outcomeMsg functional test flakiness (#259955)#260063

Merged
maximpn merged 2 commits intoelastic:9.2from
maximpn:backport/9.2/pr-259955
Mar 27, 2026
Merged

[9.2] [Security Solution] Fix rule's lastRun.outcomeMsg functional test flakiness (#259955)#260063
maximpn merged 2 commits intoelastic:9.2from
maximpn:backport/9.2/pr-259955

Conversation

@maximpn
Copy link
Copy Markdown
Contributor

@maximpn maximpn commented Mar 27, 2026

Backport

This will backport the following commits from main to 9.2:

Questions ?

Please refer to the Backport tool documentation

…kiness (elastic#259955)

**Resolves: elastic#259634
**Relates to:** elastic#258105

## Summary

This PR fixes rule's `lastRun.outcomeMsg` functional test flakiness. The flakiness was caused by race condition between rule execution and setting the legacy `outcomeMsg`'s value.

(cherry picked from commit 737848b)
@maximpn maximpn requested a review from kibanamachine as a code owner March 27, 2026 17:50
@maximpn maximpn added the backport This PR is a backport of another PR label Mar 27, 2026
@maximpn maximpn enabled auto-merge (squash) March 27, 2026 17:50
@maximpn maximpn merged commit 2dc5198 into elastic:9.2 Mar 27, 2026
14 checks passed
@maximpn maximpn deleted the backport/9.2/pr-259955 branch March 28, 2026 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants