Skip to content

Review tear down test system handlers#2252

Merged
mrodm merged 3 commits intoelastic:mainfrom
mrodm:review-tear-down-test-system
Dec 9, 2024
Merged

Review tear down test system handlers#2252
mrodm merged 3 commits intoelastic:mainfrom
mrodm:review-tear-down-test-system

Conversation

@mrodm
Copy link
Copy Markdown
Contributor

@mrodm mrodm commented Dec 2, 2024

This PR revisits the handlers run in the Tear Down test process for the system tests.

When using independent Elastic Agents for each test scenario, the following handlers can be skipped:

  • Reassign policy back to the Elastic Agent
  • Reset the log level to the Elastic Agent

When using independent Elastic Agents, those agents are going to be removed/uninstalled at the end of the test, so there is no need to run those two handlers. There is a special case where it needs to be kept the reassignment of the policy when using the --no-provision flag in system tests.

@mrodm mrodm self-assigned this Dec 2, 2024
@elasticmachine
Copy link
Copy Markdown
Collaborator

💚 Build Succeeded

History

cc @mrodm

@mrodm mrodm marked this pull request as ready for review December 3, 2024 12:17
@mrodm mrodm requested a review from a team December 3, 2024 12:17
Copy link
Copy Markdown
Member

@jsoriano jsoriano left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@mrodm mrodm merged commit 562c59e into elastic:main Dec 9, 2024
@mrodm mrodm deleted the review-tear-down-test-system branch December 9, 2024 10:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants