Commit 65c948ac authored by jonross's avatar jonross Committed by Commit Bot

Disable Flaky ForegroundedOrClosedTest.SingleTab test

ForegroundedOrClosedTest.SingleTab has started to flake on ChromeOS. This
disables the test until the cause can be found.

TEST=ForegroundedOrClosedTest.SingleTab
TBR=fdoray@chromium.org

Bug: 839886
Change-Id: I650bc975a9e4795218eb205a628d3c604f7fcdcf
Reviewed-on: https://chromium-review.googlesource.com/1044533Reviewed-by: default avatarJonathan Ross <jonross@chromium.org>
Commit-Queue: Jonathan Ross <jonross@chromium.org>
Cr-Commit-Position: refs/heads/master@{#556112}
parent 465219a8
...@@ -581,8 +581,14 @@ class ForegroundedOrClosedTest : public TabActivityWatcherTest { ...@@ -581,8 +581,14 @@ class ForegroundedOrClosedTest : public TabActivityWatcherTest {
DISALLOW_COPY_AND_ASSIGN(ForegroundedOrClosedTest); DISALLOW_COPY_AND_ASSIGN(ForegroundedOrClosedTest);
}; };
// TODO(michaelpg): test is flaky on ChromeOS. https://crbug.com/839886
#if defined(OS_CHROMEOS)
#define MAYBE_SingleTab DISABLED_SingleTab
#else
#define MAYBE_SingleTab SingleTab
#endif
// Tests TabManager.Backgrounded.ForegroundedOrClosed UKM logging. // Tests TabManager.Backgrounded.ForegroundedOrClosed UKM logging.
TEST_F(ForegroundedOrClosedTest, SingleTab) { TEST_F(ForegroundedOrClosedTest, MAYBE_SingleTab) {
Browser::CreateParams params(profile(), true); Browser::CreateParams params(profile(), true);
std::unique_ptr<Browser> browser = std::unique_ptr<Browser> browser =
CreateBrowserWithTestWindowForParams(&params); CreateBrowserWithTestWindowForParams(&params);
......
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