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

tests: Run cleanup on failures as well #47

Merged
merged 1 commit into from
Nov 16, 2021

Conversation

martinpitt
Copy link
Collaborator

Wrap tests into block:/always: so that the cleanup steps happen on
failed tests as well.


@richm : As discussed in your meeting last week. My previous PR #46 already uses that approach, this PR retrofits it for the existing tests.

Wrap tests into block:/always: so that the cleanup steps happen on
failed tests as well.
@spetrosi
Copy link
Collaborator

[citest]

@martinpitt
Copy link
Collaborator Author

martinpitt commented Nov 15, 2021

inventory not properly set up again.. (it's empty)

@martinpitt
Copy link
Collaborator Author

[ci bad]

Copy link
Contributor

@richm richm left a comment

Choose a reason for hiding this comment

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

lgtm

@richm
Copy link
Contributor

richm commented Nov 15, 2021

and don't worry about the CI failures for now (although still having trouble with the git clone of the certificate role is troubling)

@martinpitt
Copy link
Collaborator Author

All these "empty inventory" tests are also rather worrying..

@martinpitt martinpitt merged commit 66027b4 into linux-system-roles:master Nov 16, 2021
@martinpitt martinpitt deleted the always-cleanup branch November 16, 2021 03:44
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