From c68fe7efecb7808bc3becf93460bf4f4a0d816c8 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Thu, 4 Feb 2021 14:06:52 -0800 Subject: [PATCH] libsnapshot: Disable the update space swap test on non-VABC. Bug: 179111359 Change-Id: I5d435cef51bc3d902cc16a0a12766206907de3ee --- fs_mgr/libsnapshot/snapshot_test.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/fs_mgr/libsnapshot/snapshot_test.cpp b/fs_mgr/libsnapshot/snapshot_test.cpp index 95e7d8989..d57aa6c22 100644 --- a/fs_mgr/libsnapshot/snapshot_test.cpp +++ b/fs_mgr/libsnapshot/snapshot_test.cpp @@ -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));