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

Issue 2556393002: Fix TabManagerTest.TabManagerBasics flakiness with PlzNavigate. (Closed)

Created:
4 years ago by jam
Modified:
4 years ago
Reviewers:
Georges Khalil
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix TabManagerTest.TabManagerBasics flakiness with PlzNavigate. NOTIFICATION_NAV_ENTRY_COMMITTED only checks that a navigation committed (but not complete). This worked fine without PlzNavigate. But with PlzNavigate, timing differences meant that while the renderer was still handling a previous navigation and it got a back/forward command, it would cancel the previous load. The fix is to use the TestNavigationObserver class to wait for navigations to complete. BUG=504347

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -56 lines) Patch
M chrome/browser/memory/tab_manager_browsertest.cc View 9 chunks +20 lines, -56 lines 0 comments Download

Messages

Total messages: 6 (6 generated)
jam
The CQ bit was checked by jam@chromium.org to run a CQ dry run
4 years ago (2016-12-08 06:03:12 UTC) #1
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2556393002/1
4 years ago (2016-12-08 06:03:36 UTC) #2
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
4 years ago (2016-12-08 07:09:27 UTC) #3
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years ago (2016-12-08 07:09:27 UTC) #4
jam
Description was changed from ========== Fix TabManagerTest.TabManagerBasics flakiness with PlzNavigate. NOTIFICATION_NAV_ENTRY_COMMITTED in general is not ...
4 years ago (2016-12-08 15:59:32 UTC) #5
jam
4 years ago (2016-12-08 15:59:32 UTC) #6

Powered by Google App Engine
This is Rietveld 408576698