vagrant/test/unit/plugins/commands/snapshot/command
Brian Cain f998e535ce
Fixes #11139: Skip machines that haven't been created for snapshot save
This commit fixes the original #11027 fix, which assumed that the
hyper-v provider just wasn't properly getting a VM id when it listed
snapshots. In reality, it was just that if you invoke the
`with_target_vm` method with no arguments, it runs on the entire environment.
This meant that the capability snapshot_list attempted to be invoked on
machines that didn't exist yet, which is the original cause for why the
list_snapshot method did not recieve a vm ID. This commit fixes that by
simply skipping the machine if it does not yet exist.
2019-10-24 13:33:25 -07:00
..
delete_test.rb (#7188) Clean up vagrant snapshot restore/delete error messages 2017-06-07 09:12:20 -07:00
list_test.rb Separate snapshot names when listing snapshots 2019-05-06 11:09:34 -07:00
pop_test.rb Update behavior of `snapshot restore` and `snapshot pop` 2018-12-07 16:17:44 -08:00
push_test.rb test: more tests for snapshots 2015-10-08 09:10:55 -04:00
restore_test.rb Update behavior of `snapshot restore` and `snapshot pop` 2018-12-07 16:17:44 -08:00
root_test.rb snapshot plugin: Raise error for bad subcommand. 2018-12-01 14:44:42 -05:00
save_test.rb Fixes #11139: Skip machines that haven't been created for snapshot save 2019-10-24 13:33:25 -07:00