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

Commit 6a7a1f88 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 am: e0b8e50b

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I24cd33c3860b8f0f1c7181f836e57f5cebda0be4
parents ae4c55f1 e0b8e50b
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));