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

Avoid test to write in disk if machine-id is not found #3543

Merged
merged 1 commit into from
Oct 27, 2022
Merged

Avoid test to write in disk if machine-id is not found #3543

merged 1 commit into from
Oct 27, 2022

Conversation

ahitacat
Copy link
Contributor

@ahitacat ahitacat commented Oct 7, 2022

Signed-off-by: ahitacat [email protected]

All Pull Requests:

Check all that apply:

  • Have you followed the guidelines in our Contributing document, including the instructions about commit messages?
  • Is this PR to correct an issue?
  • Is this PR an enhancement?

Complete Description of Additions/Changes:

Malware test was trying to create a machine-id file if there isn't one in the system.
I have mocked the method that tries to create the machine-id as a solution.

@ahitacat ahitacat requested review from Glutexo and mhuth October 7, 2022 15:34
@vdymna vdymna added the client These issues represent work to be done by the "client" team. label Oct 11, 2022
Copy link
Contributor

@mhuth mhuth left a comment

Choose a reason for hiding this comment

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

LGTM!

@strider
Copy link
Contributor

strider commented Oct 20, 2022

LGTM too.

@strider strider self-requested a review October 20, 2022 15:17
@xiangce xiangce merged commit 468c6b4 into RedHatInsights:master Oct 27, 2022
xiangce pushed a commit that referenced this pull request Oct 27, 2022
xiangce pushed a commit that referenced this pull request Sep 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
client These issues represent work to be done by the "client" team.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants