Merge "libsnapshot: Use SnapshotManager to delete devices."
This commit is contained in:
commit
3de2320e5e
1 changed files with 1 additions and 1 deletions
|
|
@ -349,7 +349,7 @@ class SnapshotTest : public ::testing::Test {
|
|||
}
|
||||
|
||||
AssertionResult DeleteDevice(const std::string& device) {
|
||||
if (!dm_.DeleteDeviceIfExists(device)) {
|
||||
if (!sm->DeleteDeviceIfExists(device, 1s)) {
|
||||
return AssertionFailure() << "Can't delete " << device;
|
||||
}
|
||||
return AssertionSuccess();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue