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

Issue 1834783002: Eliminate race condition in CustomTabActivityTest (Closed)

Created:
4 years, 9 months ago by kraush
Modified:
4 years, 8 months ago
Reviewers:
pasko
CC:
chromium-reviews, Benoit L
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Eliminate race condition in CustomTabActivityTest Eliminates a race condition in CustomTabActivityTest#testPrecreatedRenderer by waiting for the new custom tab to open before asserting BUG=597741 Committed: https://crrev.com/4c94be22307df94b2da87ce920880ada92c28efe Cr-Commit-Position: refs/heads/master@{#383385}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Removed low-end restriction #

Patch Set 3 : Rebased on master #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -5 lines) Patch
M chrome/android/javatests/src/org/chromium/chrome/browser/customtabs/CustomTabActivityTest.java View 1 2 2 chunks +10 lines, -5 lines 0 comments Download

Messages

Total messages: 22 (6 generated)
kraush
Hi pasko, Can you take a look at this test de-flake? Thanks! :) Holger
4 years, 9 months ago (2016-03-24 20:16:02 UTC) #2
pasko
https://codereview.chromium.org/1834783002/diff/1/chrome/android/javatests/src/org/chromium/chrome/browser/customtabs/CustomTabActivityTest.java File chrome/android/javatests/src/org/chromium/chrome/browser/customtabs/CustomTabActivityTest.java (left): https://codereview.chromium.org/1834783002/diff/1/chrome/android/javatests/src/org/chromium/chrome/browser/customtabs/CustomTabActivityTest.java#oldcode721 chrome/android/javatests/src/org/chromium/chrome/browser/customtabs/CustomTabActivityTest.java:721: assertEquals(mTestPage, tab.getUrl()); was this assertion failing to match the ...
4 years, 9 months ago (2016-03-25 15:31:09 UTC) #3
kraush
On 2016/03/25 15:31:09, pasko wrote: > https://codereview.chromium.org/1834783002/diff/1/chrome/android/javatests/src/org/chromium/chrome/browser/customtabs/CustomTabActivityTest.java > File > chrome/android/javatests/src/org/chromium/chrome/browser/customtabs/CustomTabActivityTest.java > (left): > > ...
4 years, 9 months ago (2016-03-25 16:30:35 UTC) #4
pasko
On 2016/03/25 16:30:35, kraush wrote: > The test failed either on the URL or on ...
4 years, 9 months ago (2016-03-25 17:28:44 UTC) #5
kraush
On 2016/03/25 17:28:44, pasko wrote: > On 2016/03/25 16:30:35, kraush wrote: > > The test ...
4 years, 9 months ago (2016-03-25 17:32:56 UTC) #6
kraush
Removed the low-end restriction as suggested. Please take another look :)
4 years, 9 months ago (2016-03-25 17:34:46 UTC) #7
pasko
lgtm, thanks
4 years, 9 months ago (2016-03-25 17:44:30 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1834783002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1834783002/20001
4 years, 9 months ago (2016-03-25 17:45:11 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_dbg on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_chromium_gn_compile_dbg/builds/40962)
4 years, 9 months ago (2016-03-25 17:55:59 UTC) #12
kraush
On 2016/03/25 17:55:59, commit-bot: I haz the power wrote: > Try jobs failed on following ...
4 years, 9 months ago (2016-03-25 18:44:57 UTC) #13
kraush
Rebased on top of master and rebuilt. The only change was renaming the called method ...
4 years, 9 months ago (2016-03-25 21:43:39 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1834783002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1834783002/40001
4 years, 9 months ago (2016-03-25 21:44:13 UTC) #17
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 9 months ago (2016-03-25 22:28:50 UTC) #18
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/4c94be22307df94b2da87ce920880ada92c28efe Cr-Commit-Position: refs/heads/master@{#383385}
4 years, 9 months ago (2016-03-25 22:30:11 UTC) #20
pasko
Tip of the day: there is no need to rebase if the patch is like ...
4 years, 8 months ago (2016-03-29 13:37:31 UTC) #21
kraush
4 years, 8 months ago (2016-03-29 15:10:04 UTC) #22
Message was sent while issue was closed.
On 2016/03/29 13:37:31, pasko wrote:
> Tip of the day: there is no need to rebase if the patch is like 1 day old. CQ
> will quickly notify you if the patch does not auto-merge, or testing fails. I
> think it is even preferable *not* to rebase in order for reviewers to avoid
> worrying about what was actually committed.

Gotcha, thanks for the pointer! :)

Powered by Google App Engine
This is Rietveld 408576698