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

NAS-131141 / 25.04 / Shutdown/reboot audit #14546

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open

Conversation

themylogin
Copy link
Contributor

No description provided.

@bugclerk bugclerk changed the title Shutdown/reboot audit NAS-131141 / 25.04 / Shutdown/reboot audit Sep 19, 2024
@bugclerk
Copy link
Contributor

@william-gr
Copy link
Member

Just to make sure its not forgotten, it will need midcli changes too, right?

@themylogin
Copy link
Contributor Author

Just to make sure its not forgotten, it will need midcli changes too, right?

truenas/midcli#110

except Exception:
pass
else:
if new_boot_id == boot_id:
Copy link
Contributor

Choose a reason for hiding this comment

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

How does this work? new_boot_id will never match the boot_id since the system will have been rebooted?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, this was a mistake. The test was not testing the fact that the system was indeed rebooted. Updated.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

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.

4 participants