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

This commit is contained in:
Treehugger Robot 2021-02-08 21:31:13 +00:00 committed by Gerrit Code Review
commit a24aef614a
1 changed files with 5 additions and 0 deletions

View File

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