-
Notifications
You must be signed in to change notification settings - Fork 326
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
Support snapshotting SUT #393
Comments
👍 |
This issue is also filed internally, but it of low priority. |
We've had great success using vagrant-multiprovider-snap - it's got support for vmware-{fusion,workstation}, virtualbox and hyper-v .. |
My use case is testing roles. I followed http://tech.opentable.co.uk/blog/2014/09/01/testing-puppet-with-beaker-pt-dot-3-testing-roles/ but then wanted a way to reset my test environment between tests. |
Hypervisors supporting snapshotting can override these methods in their subclasses.
We want the hostname string, not the host object.
Hypervisors supporting snapshotting can override these methods in their subclasses.
We want the hostname string, not the host object.
#654 closed due to inactivity. |
So this is just off the table? |
It would be really nice to be able to snapshot SUTs. There's a Vagrant plugin for VirtualBox that does it quite nicely, though I haven't tried the cross-provider ones.
I think that the ideal implementation for me would be to just let the user handle all of it, i.e. simply expose the functionality via the DSL and let me, in my tests,
take_snapshot(:step1)
andrestore_snapshot(:step1)
.I know it's a pretty big undertaking and I hate submitting issues that I have little to no intent of trying to fix, but this came up when I was trying to test voxpupuli/puppet-rabbitmq#221 (where the package simply can't be cleanly upgraded/downgraded).
The text was updated successfully, but these errors were encountered: