|
|
Chromium Code Reviews
DescriptionFix flakiness in page_load_metrics_browser_test
This is a speculative fix for test failures that happen
because histograms are not updated.
This CL catches the case where the IPC updating the
histogram would still be in flight when the histograms
are checked.
If the histograms are missing, there is now a mechanism
to wait for the IPC to arrive.
BUG=657022
Committed: https://crrev.com/2ce641d6fa80fc0a9ea2fe1484f6040224e2a6a3
Cr-Commit-Position: refs/heads/master@{#428039}
Patch Set 1 : Rebase and cleanup #Patch Set 2 : Remove debugging code #Messages
Total messages: 25 (16 generated)
The CQ bit was checked by droger@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
The CQ bit was checked by droger@chromium.org to run a CQ dry run
Patchset #1 (id:1) has been deleted
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Description was changed from ========== Fix flakiness in page_load_metrics_browser_test ========== to ========== Fix flakiness in page_load_metrics_browser_test This is a speculative fix for test failures. The failures happen because histograms are not updated. This CL catches the case where the IPC updating the histogram would still be in flight when the histograms are checked. If the histograms are missing, there is now a mechanism to wait for the IPC to arrive. BUG=657022 ==========
Description was changed from ========== Fix flakiness in page_load_metrics_browser_test This is a speculative fix for test failures. The failures happen because histograms are not updated. This CL catches the case where the IPC updating the histogram would still be in flight when the histograms are checked. If the histograms are missing, there is now a mechanism to wait for the IPC to arrive. BUG=657022 ========== to ========== Fix flakiness in page_load_metrics_browser_test This is a speculative fix for test failures that happen because histograms are not updated. This CL catches the case where the IPC updating the histogram would still be in flight when the histograms are checked. If the histograms are missing, there is now a mechanism to wait for the IPC to arrive. BUG=657022 ==========
droger@chromium.org changed reviewers: + bmcquade@chromium.org, pasko@chromium.org
I could somewhat reproduce the failures by increasing/adding delays in chrome/renderer/page_load_metrics/page_timing_metrics_sender.cc, but I'm not sure this is really conclusive. Since this fix is speculative, we can possibly revert it if it turns out it does not work.
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
bmcquade@chromium.org changed reviewers: + csharrison@chromium.org
non-owner lgtm
On 2016/10/25 at 15:25:14, pasko wrote: > non-owner lgtm Thank you for this change! I agree that espeically as we move to mojoification, we'll no longer be able to depend on order of processing of cross process messages, so adding code to explicitly wait for the timing update to be processed is a valuable addition. High level this change looks very good. I will take a little more time to go over the change and send feedback. Will try to have comments back to you in the next few days. Thanks again!
LGTM, thank you!
Thanks. I will monitor the flakiness dashboard and report the results.
The CQ bit was checked by droger@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
On 2016/10/27 15:26:52, droger wrote: > Thanks. > > I will monitor the flakiness dashboard and report the results. Note: the flakiness dashboard is currently not responding: https://bugs.chromium.org/p/chromium/issues/detail?id=659952
Message was sent while issue was closed.
Description was changed from ========== Fix flakiness in page_load_metrics_browser_test This is a speculative fix for test failures that happen because histograms are not updated. This CL catches the case where the IPC updating the histogram would still be in flight when the histograms are checked. If the histograms are missing, there is now a mechanism to wait for the IPC to arrive. BUG=657022 ========== to ========== Fix flakiness in page_load_metrics_browser_test This is a speculative fix for test failures that happen because histograms are not updated. This CL catches the case where the IPC updating the histogram would still be in flight when the histograms are checked. If the histograms are missing, there is now a mechanism to wait for the IPC to arrive. BUG=657022 ==========
Message was sent while issue was closed.
Committed patchset #2 (id:40001)
Message was sent while issue was closed.
Description was changed from ========== Fix flakiness in page_load_metrics_browser_test This is a speculative fix for test failures that happen because histograms are not updated. This CL catches the case where the IPC updating the histogram would still be in flight when the histograms are checked. If the histograms are missing, there is now a mechanism to wait for the IPC to arrive. BUG=657022 ========== to ========== Fix flakiness in page_load_metrics_browser_test This is a speculative fix for test failures that happen because histograms are not updated. This CL catches the case where the IPC updating the histogram would still be in flight when the histograms are checked. If the histograms are missing, there is now a mechanism to wait for the IPC to arrive. BUG=657022 Committed: https://crrev.com/2ce641d6fa80fc0a9ea2fe1484f6040224e2a6a3 Cr-Commit-Position: refs/heads/master@{#428039} ==========
Message was sent while issue was closed.
Patchset 2 (id:??) landed as https://crrev.com/2ce641d6fa80fc0a9ea2fe1484f6040224e2a6a3 Cr-Commit-Position: refs/heads/master@{#428039} |
