[Security] Ftr API Integration tests (#182626)

## Summary

[Try catch
statement](9473241cf8/.buildkite/scripts/pipelines/security_solution_quality_gate/api_integration/api_ftr_execution.ts (L144))
in the PR for the [API Ftr Integration
tests](https://github.com/elastic/kibana/pull/182245), introduced a
cover above the target fix of the specific PR.

The tests were failing however the exit code was still 0 so the failures
are hidden. This PR addresses the specific issue.
This commit is contained in:
dkirchan 2024-05-06 10:56:05 +03:00 committed by GitHub
parent 98f809ec47
commit 130329510e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -143,7 +143,8 @@ export const cli = () => {
statusCode = await executeCommand(command, envVars, workDir);
} catch (err) {
log.error('An error occured when running the test script.');
log.error(err);
log.error(err.message);
statusCode = 1;
} finally {
// Delete serverless project
log.info(`${id} : Deleting project ${PROJECT_NAME}...`);