summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chrome/browser/prefs/incognito_mode_prefs_unittest.cc9
1 files changed, 8 insertions, 1 deletions
diff --git a/chrome/browser/prefs/incognito_mode_prefs_unittest.cc b/chrome/browser/prefs/incognito_mode_prefs_unittest.cc
index 6ae6364..db1a3f4 100644
--- a/chrome/browser/prefs/incognito_mode_prefs_unittest.cc
+++ b/chrome/browser/prefs/incognito_mode_prefs_unittest.cc
@@ -55,7 +55,14 @@ TEST_F(IncognitoModePrefsTest, GetAvailability) {
typedef IncognitoModePrefsTest IncognitoModePrefsDeathTest;
-TEST_F(IncognitoModePrefsDeathTest, GetAvailabilityBadValue) {
+// Takes too long to execute on Mac. http://crbug.com/101109
+#if defined(OS_MACOSX)
+#define MAYBE_GetAvailabilityBadValue DISABLED_GetAvailabilityBadValue
+#else
+#define MAYBE_GetAvailabilityBadValue GetAvailabilityBadValue
+#endif
+
+TEST_F(IncognitoModePrefsDeathTest, MAYBE_GetAvailabilityBadValue) {
prefs_.SetUserPref(prefs::kIncognitoModeAvailability,
Value::CreateIntegerValue(-1));
#if defined(NDEBUG) && defined(DCHECK_ALWAYS_ON)