Commit 20aa6298 authored by Lukasz Anforowicz's avatar Lukasz Anforowicz Committed by Commit Bot

Disable flaky NotificationHelperLaunchesChrome.ChromeLaunchTest on Win.

Bug: 841475
Change-Id: I55e6008c29008fea3ca24bdca430fa3daa66a0d8
Tbr: chengx@chromium.org
Tbr: peter@chromium.org
Reviewed-on: https://chromium-review.googlesource.com/1060165Reviewed-by: default avatarŁukasz Anforowicz <lukasza@chromium.org>
Commit-Queue: Łukasz Anforowicz <lukasza@chromium.org>
Cr-Commit-Position: refs/heads/master@{#558822}
parent 2c280f3d
......@@ -32,6 +32,7 @@
#include "base/test/test_timeouts.h"
#include "base/win/scoped_com_initializer.h"
#include "base/win/windows_version.h"
#include "build/build_config.h"
#include "chrome/install_static/install_util.h"
#include "chrome/installer/setup/install_worker.h"
#include "chrome/installer/util/install_util.h"
......@@ -240,7 +241,14 @@ class NotificationHelperLaunchesChrome : public testing::Test {
DISALLOW_COPY_AND_ASSIGN(NotificationHelperLaunchesChrome);
};
TEST_F(NotificationHelperLaunchesChrome, ChromeLaunchTest) {
// TODO(https://crbug.com/841475): Test is flaky on Win10. Re-enable after
// unflaking.
#if defined(OS_WIN)
#define MAYBE_ChromeLaunchTest DISABLED_ChromeLaunchTest
#else
#define MAYBE_ChromeLaunchTest ChromeLaunchTest
#endif
TEST_F(NotificationHelperLaunchesChrome, MAYBE_ChromeLaunchTest) {
// This test requires WinRT core functions, which are not available in
// older versions of Windows.
if (base::win::GetVersion() < base::win::VERSION_WIN8)
......
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