-
-
Notifications
You must be signed in to change notification settings - Fork 92
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
Add support for --no-destroy-on-error in up() #129
Conversation
c4f6589
to
ac08da2
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.
Please add a test as well.
ac08da2
to
fe28810
Compare
@konstruktoid I don't really understand how the test suite works, but I made an attempt. |
fe28810
to
9e2c80d
Compare
This works on Debian with libvirt, because |
oh... hashicorp/vagrant#11692 (comment) |
9e2c80d
to
9404dcb
Compare
Any feedback on how to test this? Is the test still required? This is a simple change to support troubleshooting. |
@eighthave Given what I said in my comment, I'm not convinced that it can be tested at this moment since the CI is testing only vagrant+vbox. The solution would be to run the test only if testing against libvirt but I'm not sure it's easy and I don't know if other devs except me are testing with vagrant-libvirt. tbh, I was hoping to get some feedback from others. @konstruktoid ? @ssbarnea ? Should the test be adapted to run only on vagrant-libvirt or any idea on how to test this or the test should be removed ? |
I'm so sorry @eighthave, but I've completely missed the updates on this PR. |
FWIW I'm using mostly vagrant-libvirt, in testing and production. I don't know the test harness here at all, I'm happy to add something to make it libvirt only, but I don't know what that is. |
The test suite currently relies on the
Skipping the test may also be an option but I guess that xfail would allow to keep the same value of |
@eighthave Any chance to rebase and fix this PR, so we can merge it? I think it would be ok to skip the test when the backend is not the ones for which it was designed. |
I am closing this PR because it was not fixed in a long period of time. Feel free to reopen if still needed. |
Fixes: #122