Merge "libsnapshot: Temporarily disable flaky ImageManagerTest" am: cf4f56df9f

Change-Id: I5e717953bc7443bd883a4da62f99f5e7356b2069
This commit is contained in:
Treehugger Robot 2020-02-18 18:01:58 +00:00
commit 95c67d0cda
1 changed files with 2 additions and 4 deletions

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;
}