Commit 80f017b2 authored by Lei Zhang's avatar Lei Zhang Committed by Commit Bot

Disable EventsApiTest.NewlyIntroducedListener on non-Mac.

The test randomly times out.

BUG=833854
TBR=yoichio@chromium.org
NOTRY=true

Change-Id: Iffd451c87381c6d6520fd8ba8ba51beeadd2e30c
Reviewed-on: https://chromium-review.googlesource.com/1025138Reviewed-by: default avatarLei Zhang <thestig@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Cr-Commit-Position: refs/heads/master@{#552884}
parent 87a2389c
......@@ -4,6 +4,7 @@
#include "base/files/file_path.h"
#include "base/files/file_util.h"
#include "build/build_config.h"
#include "chrome/browser/extensions/chrome_extension_test_notification_observer.h"
#include "chrome/browser/extensions/chrome_extensions_browser_client.h"
#include "chrome/browser/extensions/chrome_test_extension_loader.h"
......@@ -212,9 +213,15 @@ IN_PROC_BROWSER_TEST_F(EventsApiTest,
}
}
// Disabled on non-Mac due to flaky timeouts. https://crbug.com/833854
#if !defined(OS_MACOSX)
#define MAYBE_NewlyIntroducedListener DISABLED_NewlyIntroducedListener
#else
#define MAYBE_NewlyIntroducedListener NewlyIntroducedListener
#endif
// Tests that if an extension's updated version has a new lazy listener, it
// fires properly after the update.
IN_PROC_BROWSER_TEST_F(EventsApiTest, NewlyIntroducedListener) {
IN_PROC_BROWSER_TEST_F(EventsApiTest, MAYBE_NewlyIntroducedListener) {
std::vector<ExtensionCRXData> data;
data.emplace_back("v1");
data.emplace_back("v2");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment