Skip to content

Do not daemonize when testing error output in packaging tests (#56971)#56997

Merged
rjernst merged 1 commit intoelastic:7.xfrom
rjernst:distro_tests45_7.x
May 20, 2020
Merged

Do not daemonize when testing error output in packaging tests (#56971)#56997
rjernst merged 1 commit intoelastic:7.xfrom
rjernst:distro_tests45_7.x

Conversation

@rjernst
Copy link
Copy Markdown
Member

@rjernst rjernst commented May 20, 2020

The packaging tests start elasticsearch in various ways. All of these
currently expect it is started asynchronously, yet some tests expect it
will fail to start and want to check the error output. This commit adds
a daemonize flag to the utility methods to start elasticsearch for such
cases, so that when the start method returns, all the error output
should already be available since the process will have exited.

relates #51716

…c#56971)

The packaging tests start elasticsearch in various ways. All of these
currently expect it is started asynchronously, yet some tests expect it
will fail to start and want to check the error output. This commit adds
a daemonize flag to the utility methods to start elasticsearch for such
cases, so that when the start method returns, all the error output
should already be available since the process will have exited.

relates elastic#51716
@rjernst rjernst added backport :Delivery/Packaging RPM and deb packaging, tar and zip archives, shell and batch scripts labels May 20, 2020
@elasticmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-core-infra (:Core/Infra/Packaging)

@elasticmachine elasticmachine added the Team:Core/Infra Meta label for core/infra team label May 20, 2020
@rjernst rjernst merged commit 79224a9 into elastic:7.x May 20, 2020
@rjernst rjernst deleted the distro_tests45_7.x branch May 20, 2020 14:56
@mark-vieira mark-vieira added Team:Delivery Meta label for Delivery team and removed Team:Core/Infra Meta label for core/infra team labels Nov 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport :Delivery/Packaging RPM and deb packaging, tar and zip archives, shell and batch scripts Team:Delivery Meta label for Delivery team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants