Commit 6245357b authored by benwells@chromium.org's avatar benwells@chromium.org

Add logging to help diagnose reason for ASan LSan flakiness.

The test PlatformAppBrowserTest.AppWindowAdjustBounds... is flaky on
the Linux ChromeOS ASan LSan bot. This adds some temporary loggin' to get
some information on where it is hanging.

BUG=377754

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@274503 0039d316-1c4b-4281-b951-d872f2087c98
parent 63d440eb
......@@ -748,9 +748,14 @@ IN_PROC_BROWSER_TEST_F(PlatformAppBrowserTest, MAYBE_AppWindowRestoreState) {
IN_PROC_BROWSER_TEST_F(PlatformAppBrowserTest,
AppWindowAdjustBoundsToBeVisibleOnScreen) {
// TODO(benwells): Remove this logging once flakiness has been observed.
// See http://crbug.com/377754.
LOG(WARNING) << "Loading minimal app";
const Extension* extension = LoadAndLaunchPlatformApp("minimal");
LOG(WARNING) << "Creating window";
AppWindow* window = CreateAppWindow(extension);
LOG(WARNING) << "Performing tests";
// The screen bounds didn't change, the cached bounds didn't need to adjust.
gfx::Rect cached_bounds(80, 100, 400, 400);
gfx::Rect cached_screen_bounds(0, 0, 1600, 900);
......@@ -818,6 +823,7 @@ IN_PROC_BROWSER_TEST_F(PlatformAppBrowserTest,
gfx::Size(900, 900),
&bounds);
EXPECT_EQ(bounds, gfx::Rect(0, 0, 900, 900));
LOG(WARNING) << "Tests complete";
}
namespace {
......
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