Merge "libsnapshot: Use SnapshotManager to delete devices." into android12L-tests-dev
This commit is contained in:
commit
11caad9d6c
1 changed files with 1 additions and 1 deletions
|
|
@ -289,7 +289,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