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

integration: completely remove LocalHarness. #912

Merged

Conversation

aznashwan
Copy link
Contributor

@aznashwan aznashwan commented Dec 17, 2024

The LocalHarness is a harness used for running integration tests
on the local machine where the tests are directly invoked
(be it via tox, pytest, etc).

It presents numerous limitations (can't run any multi-node tests)
and poses a lot of potential risks (cleanup failing in case of
fatal errors in the test fixtures) which outweighs most of its
convenience benefits (especially when compared to the LXD
substrate).

This patch completely removes the LocalHarness and all references to it
from the documentation, making LXD the new default.

@aznashwan aznashwan requested a review from a team as a code owner December 17, 2024 16:03
Copy link
Contributor

@bschimke95 bschimke95 left a comment

Choose a reason for hiding this comment

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

LGTM, please add a description to the PR on why we remove this.

@aznashwan aznashwan force-pushed the integration-remove-local-harness branch from 9691673 to 034fa8b Compare December 17, 2024 16:10
The LocalHarness is a harness used for running integration tests
on the local machine where the tests are directly invoked
(be it via `tox`, `pytest`, etc).

It presents numerous limitations (can't run any multi-node tests)
and poses a lot of potential risks (cleanup failing in case of
fatal errors in the test fixtures) which outweighs most of its
convenience benefits (especially when compared to the LXD
substrate).

This patch completely removes the LocalHarness and all references to it
from the documentation, making LXD the new default.

Signed-off-by: Nashwan Azhari <[email protected]>
@aznashwan aznashwan force-pushed the integration-remove-local-harness branch from 034fa8b to 650e27f Compare December 17, 2024 16:14
Copy link
Member

@berkayoz berkayoz left a comment

Choose a reason for hiding this comment

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

LGTM

@bschimke95 bschimke95 merged commit e37327f into canonical:main Dec 18, 2024
17 checks passed
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