Skip to content
New issue

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

Update installation/uninstallation package process in system tests #1845

Closed
wants to merge 34 commits into from

Conversation

mrodm
Copy link
Contributor

@mrodm mrodm commented May 20, 2024

Relates #787

Package installation process is repeated for every data stream and configuration file defined in every package.

This process is just needed once:

  • No need to install multiple times the same package.
  • Every data stream and configuration file would be defining the required Package Policy.

This PR updates the test runner to include two new methods in the interface (SetupRunner and TearDownRunner). These two methods are in charge of creating (or deleting) the global resources required to run all the tests for every data streams and configuration file defined in the package:

  • For system tests, installation (and uninstallation) of the package would be performed in these two new methods.

Depends on #1866

@mrodm mrodm self-assigned this May 20, 2024
@mrodm mrodm force-pushed the install-package-once-system-tests branch from 8c69dfb to 0c40417 Compare May 20, 2024 14:58
@mrodm
Copy link
Contributor Author

mrodm commented May 30, 2024

/test

@mrodm
Copy link
Contributor Author

mrodm commented May 30, 2024

test integrations

@elasticmachine
Copy link
Collaborator

Created or updated PR in integrations repository to test this version. Check elastic/integrations#10027

mrodm added 4 commits May 31, 2024 13:16
This step/action is moved after all tests have been executed, and it is
now performed in TearDownRunner function.
@elasticmachine
Copy link
Collaborator

💚 Build Succeeded

History

cc @mrodm

@mrodm
Copy link
Contributor Author

mrodm commented Jun 6, 2024

Closing PR in favor of #1892

@mrodm mrodm closed this Jun 6, 2024
@mrodm mrodm deleted the install-package-once-system-tests branch June 6, 2024 16:27
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.

2 participants