Commit a5094105 authored by Takumi Fujimoto's avatar Takumi Fujimoto Committed by Commit Bot

Disable ChromeFindRequestManagerTest.FindInPDF on win-asan

Disabling for flakiness.

TBR=thestig

Bug: 1030368
Change-Id: I0dc5f22acf376b23e54988ec01ea5e6527da5a1f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1949032Reviewed-by: default avatarTakumi Fujimoto <takumif@chromium.org>
Reviewed-by: default avatarLei Zhang <thestig@chromium.org>
Commit-Queue: Takumi Fujimoto <takumif@chromium.org>
Cr-Commit-Position: refs/heads/master@{#721234}
parent c2414ce7
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
#include "base/command_line.h" #include "base/command_line.h"
#include "base/strings/utf_string_conversions.h" #include "base/strings/utf_string_conversions.h"
#include "build/build_config.h"
#include "chrome/browser/pdf/pdf_extension_test_util.h" #include "chrome/browser/pdf/pdf_extension_test_util.h"
#include "chrome/browser/ui/browser.h" #include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/tabs/tab_strip_model.h" #include "chrome/browser/ui/tabs/tab_strip_model.h"
...@@ -80,9 +81,14 @@ class ChromeFindRequestManagerTest : public InProcessBrowserTest { ...@@ -80,9 +81,14 @@ class ChromeFindRequestManagerTest : public InProcessBrowserTest {
DISALLOW_COPY_AND_ASSIGN(ChromeFindRequestManagerTest); DISALLOW_COPY_AND_ASSIGN(ChromeFindRequestManagerTest);
}; };
// Tests searching in a full-page PDF. // Tests searching in a full-page PDF.
IN_PROC_BROWSER_TEST_F(ChromeFindRequestManagerTest, FindInPDF) { // Flaky on Windows ASAN: crbug.com/1030368.
#if defined(OS_WIN) && defined(ADDRESS_SANITIZER)
#define MAYBE_FindInPDF DISABLED_FindInPDF
#else
#define MAYBE_FindInPDF FindInPDF
#endif
IN_PROC_BROWSER_TEST_F(ChromeFindRequestManagerTest, MAYBE_FindInPDF) {
LoadAndWait("/find_in_pdf_page.pdf"); LoadAndWait("/find_in_pdf_page.pdf");
ASSERT_TRUE(pdf_extension_test_util::EnsurePDFHasLoaded(contents())); ASSERT_TRUE(pdf_extension_test_util::EnsurePDFHasLoaded(contents()));
......
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