Skip to content

[8.19] [FTR] Add integration tests to verify FTR exit code preservation (#243630)#243672

Merged
kibanamachine merged 1 commit intoelastic:8.19from
kibanamachine:backport/8.19/pr-243630
Nov 20, 2025
Merged

[8.19] [FTR] Add integration tests to verify FTR exit code preservation (#243630)#243672
kibanamachine merged 1 commit intoelastic:8.19from
kibanamachine:backport/8.19/pr-243630

Conversation

@kibanamachine
Copy link
Copy Markdown
Contributor

Backport

This will backport the following commits from main to 8.19:

Questions ?

Please refer to the Backport tool documentation

…stic#243630)

This PR adds two integration tests to verify that FTR preserves exit
codes correctly when cleanup handlers are registered via
`@kbn/cleanup-before-exit`.

This test would have caught the bug fixed in elastic#243499, where
`cleanupBeforeExit` was accidentally resetting the exit code to 0 when
tests failed.

(cherry picked from commit 71a871a)
@elasticmachine
Copy link
Copy Markdown
Contributor

@kibanamachine kibanamachine merged commit 3fbd530 into elastic:8.19 Nov 20, 2025
11 checks passed
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.

3 participants