libsnapshot: Temporarily disable flaky ImageManagerTest

This test was causing the failure of vts_libsnapshot_test.
Disable until a fix is found and tests are stable again.

Bug: 149738928
Test: atests vts_libsnapshot_test
Change-Id: Ibbe5cd72aad93d9ade4ac1542f08dec9cd926a3b
Signed-off-by: Alessio Balsini <balsini@google.com>
This commit is contained in:
Alessio Balsini 2020-02-18 15:51:11 +00:00
parent beb3125d3d
commit 41b00ca46e

View file

@ -1767,6 +1767,7 @@ class ImageManagerTest : public SnapshotTest, public WithParamInterface<uint64_t
protected:
void SetUp() override {
if (!is_virtual_ab_) GTEST_SKIP() << "Test for Virtual A/B devices only";
GTEST_SKIP() << "WIP failure b/149738928";
SnapshotTest::SetUp();
userdata_ = std::make_unique<LowSpaceUserdata>();
@ -1774,6 +1775,7 @@ class ImageManagerTest : public SnapshotTest, public WithParamInterface<uint64_t
}
void TearDown() override {
if (!is_virtual_ab_) return;
return; // BUG(149738928)
EXPECT_TRUE(!image_manager_->BackingImageExists(kImageName) ||
image_manager_->DeleteBackingImage(kImageName));
@ -1808,10 +1810,6 @@ std::vector<uint64_t> ImageManagerTestParams() {
std::vector<uint64_t> ret;
for (uint64_t size = 1_MiB; size <= 512_MiB; size *= 2) {
ret.push_back(size);
#ifdef SKIP_TEST_IN_PRESUBMIT
// BUG(148889015);
break;
#endif
}
return ret;
}