Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(307)

Unified Diff: chrome/browser/lifetime/browser_close_manager_browsertest.cc

Issue 2964463002: Disable flaky BrowserCloseManagerBrowserTest. (Closed)
Patch Set: Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/lifetime/browser_close_manager_browsertest.cc
diff --git a/chrome/browser/lifetime/browser_close_manager_browsertest.cc b/chrome/browser/lifetime/browser_close_manager_browsertest.cc
index 1b3e44ae8f2c2618e69119599e8f596451a93693..1897702aa88273bcf661c65d625d939d086099dc 100644
--- a/chrome/browser/lifetime/browser_close_manager_browsertest.cc
+++ b/chrome/browser/lifetime/browser_close_manager_browsertest.cc
@@ -351,8 +351,14 @@ IN_PROC_BROWSER_TEST_P(BrowserCloseManagerBrowserTest,
// Test that the tab closed after the aborted shutdown attempt is not re-opened
// when restoring the session.
+// Flaky on Windows trybots, see https://crbug.com/737860.
+#if defined(OS_WIN)
+#define MAYBE_TestSessionRestore DISABLED_TestSessionRestore
+#else
+#define MAYBE_TestSessionRestore TestSessionRestore
+#endif
IN_PROC_BROWSER_TEST_P(BrowserCloseManagerBrowserTest,
- TestSessionRestore) {
+ MAYBE_TestSessionRestore) {
// The testing framework launches Chrome with about:blank as args.
EXPECT_EQ(2, browser()->tab_strip_model()->count());
EXPECT_EQ(GURL(chrome::kChromeUIVersionURL),
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698