Skip to content

[9.2] [FTR] Add integration tests to verify FTR exit code preservation (#243630)#243674

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

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

Conversation

@kibanamachine
Copy link
Copy Markdown
Contributor

Backport

This will backport the following commits from main to 9.2:

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 merged commit af96f31 into elastic:9.2 Nov 20, 2025
16 checks passed
@elasticmachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged

cc @csr

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