Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e0b8e50b authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "libsnapshot: Disable the update space swap test on non-VABC." am: a24aef61

Original change: https://android-review.googlesource.com/c/platform/system/core/+/1576399

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ie9db3ee06dc375d0d4881a296b879da2b1aa5bc5
parents c01d4b4d a24aef61
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -1160,6 +1160,11 @@ TEST_F(SnapshotUpdateTest, FullUpdateFlow) {
// Test that shrinking and growing partitions at the same time is handled
// correctly in VABC.
TEST_F(SnapshotUpdateTest, SpaceSwapUpdate) {
    if (!IsCompressionEnabled()) {
        // b/179111359
        GTEST_SKIP() << "Skipping Virtual A/B Compression test";
    }

    // OTA client blindly unmaps all partitions that are possibly mapped.
    for (const auto& name : {"sys_b", "vnd_b", "prd_b"}) {
        ASSERT_TRUE(sm->UnmapUpdateSnapshot(name));