Commit 5d2e1fe2 authored by Yoyo Zhou's avatar Yoyo Zhou

Disable DownloadDangerPromptTest.TestAll on Windows for flaky timeouts.

BUG=446696
TBR=asanka@chromium.org

Review URL: https://codereview.chromium.org/838673003

Cr-Commit-Position: refs/heads/master@{#310199}
parent 49325b0c
...@@ -101,7 +101,13 @@ class DownloadDangerPromptTest : public InProcessBrowserTest { ...@@ -101,7 +101,13 @@ class DownloadDangerPromptTest : public InProcessBrowserTest {
DISALLOW_COPY_AND_ASSIGN(DownloadDangerPromptTest); DISALLOW_COPY_AND_ASSIGN(DownloadDangerPromptTest);
}; };
IN_PROC_BROWSER_TEST_F(DownloadDangerPromptTest, TestAll) { // Disabled for flaky timeouts on Windows. crbug.com/446696
#if defined(OS_WIN)
#define MAYBE_TestAll DISABLED_TestAll
#else
#define MAYBE_TestAll TestAll
#endif
IN_PROC_BROWSER_TEST_F(DownloadDangerPromptTest, MAYBE_TestAll) {
// ExperienceSampling: Set default actions for DownloadItem methods we need. // ExperienceSampling: Set default actions for DownloadItem methods we need.
ON_CALL(download(), GetURL()).WillByDefault(ReturnRef(GURL::EmptyGURL())); ON_CALL(download(), GetURL()).WillByDefault(ReturnRef(GURL::EmptyGURL()));
ON_CALL(download(), GetReferrerUrl()) ON_CALL(download(), GetReferrerUrl())
......
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