commit | 3823109dd4ce9d76bb438720aa332b8b788356b7 | [log] [tgz] |
---|---|---|
author | Ryan Hsu <rhsu@vmware.com> | Sun Jun 08 23:12:10 2014 -0700 |
committer | Ryan Hsu <rhsu@vmware.com> | Fri Jun 13 13:30:24 2014 -0700 |
tree | 01598e7ffcae791382519eda2334428cf02836f7 | |
parent | 35ea84fc805baadfeb2e157bfe166544be9eefdb [diff] |
Handle backup not found in test_create_backup The "oldest" backup in the test_create_backup test is supposed to be deleted automatically via rotation but the cleanup routine does not catch the NotFound exception when the delete function doesn't find the backup image. This commit handles the NotFound and also logs a warning if the image was actually deleted in case of a race condition. Change-Id: Ieae2edf0ae4318aef74aedef18480df165fd4753 Closes-Bug: #1291683