Merge "libsnapshot: Use SnapshotManager to delete devices." into android12L-tests-dev

This commit is contained in:
Treehugger Robot 2023-06-02 23:51:12 +00:00 committed by Gerrit Code Review
commit 11caad9d6c

View file

@ -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();