We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently, when an integration test fails, we dump the process list to help debug the failure, by registering a t.Cleanup() callback:
t.Cleanup()
elastic-agent/pkg/testing/fixture_install.go
Lines 219 to 226 in e8962b0
However, this callback registration is happening after the test attempts to install Elastic Agent:
Lines 180 to 194 in e8962b0
Consequently, if the install itself fails, we do not get a dump of the process list.
We should make it so the process list is dumped on the earliest failure of any integration test.
The text was updated successfully, but these errors were encountered:
Pinging @elastic/elastic-agent-control-plane (Team:Elastic-Agent-Control-Plane)
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Currently, when an integration test fails, we dump the process list to help debug the failure, by registering a
t.Cleanup()
callback:elastic-agent/pkg/testing/fixture_install.go
Lines 219 to 226 in e8962b0
However, this callback registration is happening after the test attempts to install Elastic Agent:
elastic-agent/pkg/testing/fixture_install.go
Lines 180 to 194 in e8962b0
Consequently, if the install itself fails, we do not get a dump of the process list.
We should make it so the process list is dumped on the earliest failure of any integration test.
The text was updated successfully, but these errors were encountered: