p2p: disable flaky housekeeping test for now
BUG=chromium:281694
TEST=unit tests pass
Change-Id: I857ba2dd2762ca1e6d5aecd4e549daeaaa956faa
Reviewed-on: https://chromium-review.googlesource.com/167482
Reviewed-by: Chris Sosa <sosa@chromium.org>
Commit-Queue: David Zeuthen <zeuthen@chromium.org>
Tested-by: David Zeuthen <zeuthen@chromium.org>
diff --git a/p2p_manager_unittest.cc b/p2p_manager_unittest.cc
index 3963b72..449387b 100644
--- a/p2p_manager_unittest.cc
+++ b/p2p_manager_unittest.cc
@@ -68,6 +68,9 @@
EXPECT_TRUE(utils::RecursiveUnlinkDir(temp_dir));
}
+// TODO(zeuthen): This test is flaky on some builders. See http://crbug/281694
+#if 0
+
// Check that we keep the $N newest files with the .$EXT.p2p extension.
TEST_F(P2PManagerTest, HouseKeeping) {
scoped_ptr<P2PManager> manager(P2PManager::Construct(test_conf_,
@@ -113,6 +116,7 @@
EXPECT_EQ(manager->CountSharedFiles(), 3);
}
+#endif // http://crbug/281694
// TODO(zeuthen): Some builders do not support fallocate(2) or xattrs
// in the tmp directories where the code runs so comment out these