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

Fix SNAPSHOT_RESTORE=0 tests #300

Merged
merged 5 commits into from
Jun 7, 2024
Merged

Fix SNAPSHOT_RESTORE=0 tests #300

merged 5 commits into from
Jun 7, 2024

Conversation

masnax
Copy link
Contributor

@masnax masnax commented May 2, 2024

No description provided.

simondeziel
simondeziel previously approved these changes May 2, 2024
Copy link
Member

@simondeziel simondeziel left a comment

Choose a reason for hiding this comment

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

LGTM, thanks

microcloud/test/includes/microcloud.sh Outdated Show resolved Hide resolved
Signed-off-by: Max Asnaashari <max.asnaashari@canonical.com>
Sometimes tests will fail because the disk selection is incorrect. This
means either MicroCloud is listing disks wrong or LXD is, so this adds a
log so we can verify the issue if we run into an error.

Signed-off-by: Max Asnaashari <max.asnaashari@canonical.com>
@masnax
Copy link
Contributor Author

masnax commented Jun 6, 2024

@roosterfish Could this please get a final pass? This is basically just some workarounds to get the microcloud tests to run faster on local systems without needing to wait for the LXD agent in-between snapshot restores.

test/includes/microcloud.sh Outdated Show resolved Hide resolved
test/includes/microcloud.sh Show resolved Hide resolved
Makes it easier to catch a freeze

Signed-off-by: Max Asnaashari <max.asnaashari@canonical.com>
Signed-off-by: Max Asnaashari <max.asnaashari@canonical.com>
…abled

We may need to manually remove the zpool in this case.

Signed-off-by: Max Asnaashari <max.asnaashari@canonical.com>
@masnax masnax requested a review from roosterfish June 6, 2024 17:42
Copy link
Contributor

@roosterfish roosterfish left a comment

Choose a reason for hiding this comment

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

Looks good!

@masnax masnax merged commit 97894c8 into canonical:main Jun 7, 2024
15 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.

None yet

4 participants