libsnapshot: Disable another legacy merge path in tests.
Bug: 279009697 Test: presubmit Change-Id: I1954b38f497bb8e4f7aa288e80541ac9ad5c075c
This commit is contained in:
parent
2e998a43e1
commit
ed4c853d14
1 changed files with 5 additions and 0 deletions
|
|
@ -2646,6 +2646,11 @@ TEST_F(SnapshotUpdateTest, QueryStatusError) {
|
|||
ASSERT_TRUE(init->InitiateMerge());
|
||||
ASSERT_EQ(UpdateState::MergeFailed, init->ProcessUpdateState());
|
||||
|
||||
if (ShouldSkipLegacyMerging()) {
|
||||
LOG(INFO) << "Skipping legacy merge in test";
|
||||
return;
|
||||
}
|
||||
|
||||
// Simulate a reboot that tries the merge again, with the non-failing dm.
|
||||
ASSERT_TRUE(UnmapAll());
|
||||
init = NewManagerForFirstStageMount("_b");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue