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

Issue 2668043002: Reland cros: Test for overlapping ContinueSessionRestore calls (Closed)

Created:
3 years, 10 months ago by xiyuan
Modified:
3 years, 10 months ago
CC:
chromium-reviews, alemate+watch_chromium.org, achuith+watch_chromium.org, oshima+watch_chromium.org, davemoore+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Reland cros: Test for overlapping ContinueSessionRestore calls Original review: https://codereview.chromium.org/2658953002/ OAuth2LoginManager::ContinueSessionRestore with strategy RESTORE_FROM_SAVED_OAUTH2_REFRESH_TOKEN would call TokenService::LoadCredentials that does not support multiple concurrent calls. Add a test to verify that it does not attempt to overlap LoadCredentials calls. BUG=682695 TEST=OAuth2Test.OverlappingContinueSessionRestore Review-Url: https://codereview.chromium.org/2668043002 Cr-Commit-Position: refs/heads/master@{#448392} Committed: https://chromium.googlesource.com/chromium/src/+/5a99a823e8dcc16c9804df03ba30747255104c2b

Patch Set 1 #

Patch Set 2 : handle GetCheckConnectionInfo in FakeGaia to speed up /MergeSession #

Patch Set 3 : fix WaitForGaiaPageReload timing #

Patch Set 4 : partial revert WaitForGaiaPageReload to make it less aggressive #

Total comments: 13

Patch Set 5 : for comments in #4 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+121 lines, -20 lines) Patch
M chrome/browser/chromeos/login/signin/oauth2_browsertest.cc View 1 2 3 4 6 chunks +87 lines, -6 lines 0 comments Download
M chrome/browser/chromeos/login/test/oobe_base_test.cc View 1 2 3 4 1 chunk +14 lines, -9 lines 0 comments Download
M google_apis/gaia/fake_gaia.h View 1 3 chunks +6 lines, -3 lines 0 comments Download
M google_apis/gaia/fake_gaia.cc View 1 3 chunks +14 lines, -2 lines 0 comments Download

Messages

Total messages: 24 (17 generated)
xiyuan
derat@: Reland of the test. Changing supporting code to fix the flakiness. achuith@: c/b/chromeos/login/test/oobe_base_test.cc Fix ...
3 years, 10 months ago (2017-02-01 21:30:49 UTC) #4
Daniel Erat
lgtm
3 years, 10 months ago (2017-02-01 22:15:42 UTC) #5
achuithb
lgtm https://codereview.chromium.org/2668043002/diff/60001/chrome/browser/chromeos/login/signin/oauth2_browsertest.cc File chrome/browser/chromeos/login/signin/oauth2_browsertest.cc (right): https://codereview.chromium.org/2668043002/diff/60001/chrome/browser/chromeos/login/signin/oauth2_browsertest.cc#newcode147 chrome/browser/chromeos/login/signin/oauth2_browsertest.cc:147: // Blocks a BrowserThread on construction and unblocks ...
3 years, 10 months ago (2017-02-02 00:37:11 UTC) #12
xiyuan
https://codereview.chromium.org/2668043002/diff/60001/chrome/browser/chromeos/login/signin/oauth2_browsertest.cc File chrome/browser/chromeos/login/signin/oauth2_browsertest.cc (right): https://codereview.chromium.org/2668043002/diff/60001/chrome/browser/chromeos/login/signin/oauth2_browsertest.cc#newcode147 chrome/browser/chromeos/login/signin/oauth2_browsertest.cc:147: // Blocks a BrowserThread on construction and unblocks it ...
3 years, 10 months ago (2017-02-02 18:44:00 UTC) #13
Roger Tawa OOO till Jul 10th
lgtm google_apis
3 years, 10 months ago (2017-02-02 18:48:21 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2668043002/80001
3 years, 10 months ago (2017-02-06 20:16:54 UTC) #21
commit-bot: I haz the power
3 years, 10 months ago (2017-02-06 21:23:42 UTC) #24
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/5a99a823e8dcc16c9804df03ba30...

Powered by Google App Engine
This is Rietveld 408576698