Commit 3ebc22ea authored by vandebo@chromium.org's avatar vandebo@chromium.org

Disable CaptureVisibleTabPng/Jpeg on platforms where they time out.

BUG=83876
TEST=NONE

Review URL: http://codereview.chromium.org/7071005

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86787 0039d316-1c4b-4281-b951-d872f2087c98
parent 508426a8
...@@ -97,8 +97,9 @@ IN_PROC_BROWSER_TEST_F(ExtensionApiTest, MAYBE_TabOnRemoved) { ...@@ -97,8 +97,9 @@ IN_PROC_BROWSER_TEST_F(ExtensionApiTest, MAYBE_TabOnRemoved) {
ASSERT_TRUE(RunExtensionTest("tabs/on_removed")) << message_; ASSERT_TRUE(RunExtensionTest("tabs/on_removed")) << message_;
} }
// Test is timing out on cros and flaky on others. See http://crbug.com/83876 // Test is timing out on linux and cros and flaky on others.
#if defined(OS_CHROMEOS) // See http://crbug.com/83876
#if defined(OS_LINUX)
#define MAYBE_CaptureVisibleTabJpeg DISABLED_CaptureVisibleTabJpeg #define MAYBE_CaptureVisibleTabJpeg DISABLED_CaptureVisibleTabJpeg
#else #else
#define MAYBE_CaptureVisibleTabJpeg FLAKY_CaptureVisibleTabJpeg #define MAYBE_CaptureVisibleTabJpeg FLAKY_CaptureVisibleTabJpeg
...@@ -111,8 +112,13 @@ IN_PROC_BROWSER_TEST_F(ExtensionApiTest, MAYBE_CaptureVisibleTabJpeg) { ...@@ -111,8 +112,13 @@ IN_PROC_BROWSER_TEST_F(ExtensionApiTest, MAYBE_CaptureVisibleTabJpeg) {
"test_jpeg.html")) << message_; "test_jpeg.html")) << message_;
} }
// Test is flaky. See http://crbug.com/83876 // Test is timing out on cros and flaky on others. See http://crbug.com/83876
IN_PROC_BROWSER_TEST_F(ExtensionApiTest, FLAKY_CaptureVisibleTabPng) { #if defined(OS_CHROMEOS)
#define MAYBE_CaptureVisibleTabPng DISABLED_CaptureVisibleTabPng
#else
#define MAYBE_CaptureVisibleTabPng FLAKY_CaptureVisibleTabPng
#endif
IN_PROC_BROWSER_TEST_F(ExtensionApiTest, MAYBE_CaptureVisibleTabPng) {
host_resolver()->AddRule("a.com", "127.0.0.1"); host_resolver()->AddRule("a.com", "127.0.0.1");
host_resolver()->AddRule("b.com", "127.0.0.1"); host_resolver()->AddRule("b.com", "127.0.0.1");
ASSERT_TRUE(StartTestServer()); ASSERT_TRUE(StartTestServer());
......
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