| Index: base/logging_unittest.cc
|
| diff --git a/base/logging_unittest.cc b/base/logging_unittest.cc
|
| index 04f349cab63913d9fcb7f9c1a0c1643ad248488f..62323972b8a12c4ac7fa6061eeb5812b294eb4e1 100644
|
| --- a/base/logging_unittest.cc
|
| +++ b/base/logging_unittest.cc
|
| @@ -185,7 +185,13 @@ TEST_F(LoggingTest, LoggingIsLazyByDestination) {
|
| // Official builds have CHECKs directly call BreakDebugger.
|
| #if !defined(OFFICIAL_BUILD)
|
|
|
| -TEST_F(LoggingTest, CheckStreamsAreLazy) {
|
| +// https://crbug.com/709067 tracks test flakiness on iOS.
|
| +#if defined(OS_IOS)
|
| +#define MAYBE_CheckStreamsAreLazy DISABLED_CheckStreamsAreLazy
|
| +#else
|
| +#define MAYBE_CheckStreamsAreLazy CheckStreamsAreLazy
|
| +#endif
|
| +TEST_F(LoggingTest, MAYBE_CheckStreamsAreLazy) {
|
| MockLogSource mock_log_source, uncalled_mock_log_source;
|
| EXPECT_CALL(mock_log_source, Log()).Times(8).
|
| WillRepeatedly(Return("check message"));
|
| @@ -386,7 +392,13 @@ void DcheckEmptyFunction1() {
|
| }
|
| void DcheckEmptyFunction2() {}
|
|
|
| -TEST_F(LoggingTest, Dcheck) {
|
| +// https://crbug.com/709067 tracks test flakiness on iOS.
|
| +#if defined(OS_IOS)
|
| +#define MAYBE_Dcheck DISABLED_Dcheck
|
| +#else
|
| +#define MAYBE_Dcheck Dcheck
|
| +#endif
|
| +TEST_F(LoggingTest, MAYBE_Dcheck) {
|
| #if defined(NDEBUG) && !defined(DCHECK_ALWAYS_ON)
|
| // Release build.
|
| EXPECT_FALSE(DCHECK_IS_ON());
|
|
|