Skip to content

Conversation

@richm
Copy link
Collaborator

@richm richm commented Apr 23, 2025

Ensure the tests cleanup and restore the system state.
Refactor tests to use a block/always so that cleanup can
occur in the always block.
Add a tests/tasks/cleanup.yml tasks file which is run from
the always block of the test, and include this task file
to be run from the always block of tests that require cleanup.

Signed-off-by: Rich Megginson [email protected]

Ensure the tests cleanup and restore the system state.
Refactor tests to use a `block/always` so that cleanup can
occur in the `always` block.
Add a tests/tasks/cleanup.yml tasks file which is run from
the `always` block of the test, and include this task file
to be run from the `always` block of tests that require cleanup.

Signed-off-by: Rich Megginson <[email protected]>
@richm
Copy link
Collaborator Author

richm commented Apr 23, 2025

[citest]

@richm
Copy link
Collaborator Author

richm commented Apr 23, 2025

[citest]

@richm richm merged commit 95f5db6 into linux-system-roles:main Apr 23, 2025
19 checks passed
@richm richm deleted the test-cleanup-restore-provider-default branch April 23, 2025 19:25
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.

1 participant