-
Notifications
You must be signed in to change notification settings - Fork 15
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/storage-vm: Test that we avoid deleting existing target directories not created by LXD when unmounting disks #83
base: main
Are you sure you want to change the base?
Conversation
c6a03e1
to
b97d789
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't see the difference between the test with /opt
and /tmp/empty-dir
as both are not created by LXD.
…ries not created by LXD when unmounting disks Signed-off-by: Gabriel Mougard <[email protected]>
b97d789
to
cad636e
Compare
you're right, these two cases test the same thing, removing the second one. |
@gabrielmougard @tomponline I wonder how much of that whole test (not just the bits added by Gabriel) also apply to container. Should we consider creating a |
Possibly, although i'd expect to see containers tested in the main test suite so that the general logic and container specific implementation is tested on every PR. |
We should wait for canonical/lxd#12700 to be merged so that we can trigger a run in here before merging. |
Related to canonical/lxd#12700