Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(11)

Unified Diff: components/copresence/timed_map_unittest.cc

Issue 445243002: Disable flaky tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/copresence/handlers/audio/audio_directive_list_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/copresence/timed_map_unittest.cc
diff --git a/components/copresence/timed_map_unittest.cc b/components/copresence/timed_map_unittest.cc
index 10cfdb8c89e6e6fee91cf90da4d55fc28e2c7a1a..7dd5e4736e834d7f50502499c46b907cb23bb59d 100644
--- a/components/copresence/timed_map_unittest.cc
+++ b/components/copresence/timed_map_unittest.cc
@@ -74,7 +74,10 @@ TEST_F(TimedMapTest, ValueReplacement) {
EXPECT_EQ(0xd00d, map.GetValue(0x1337).value);
}
-TEST_F(TimedMapTest, SizeEvict) {
+// TODO(rkc): Find and fix the memory leak here.
+#define MAYBE_SizeEvict DISABLED_SizeEvict
+
+TEST_F(TimedMapTest, MAYBE_SizeEvict) {
typedef copresence::TimedMap<int, Value> Map;
Map two_element_map(base::TimeDelta::FromSeconds(9999), 2);
@@ -94,7 +97,10 @@ TEST_F(TimedMapTest, SizeEvict) {
EXPECT_EQ(0, two_element_map.GetValue(0x1337).value);
}
-TEST_F(TimedMapTest, TimedEvict) {
+// TODO(rkc): Find and fix the memory leak here.
+#define MAYBE_TimedEvict DISABLED_TimedEvict
+
+TEST_F(TimedMapTest, MAYBE_TimedEvict) {
const int kLargeTimeValueSeconds = 9999;
base::SimpleTestTickClock clock;
typedef copresence::TimedMap<int, Value> Map;
« no previous file with comments | « components/copresence/handlers/audio/audio_directive_list_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698