Skip to content

[9.1] [FTR] Add integration tests to verify FTR exit code preservation (#243630)#243673

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

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

Conversation

@kibanamachine
Copy link
Copy Markdown
Contributor

Backport

This will backport the following commits from main to 9.1:

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)
@kibanamachine kibanamachine added the backport This PR is a backport of another PR label Nov 20, 2025
@kibanamachine kibanamachine enabled auto-merge (squash) November 20, 2025 14:55
@kibanamachine kibanamachine merged commit 71710e3 into elastic:9.1 Nov 20, 2025
16 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.

2 participants