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

Issue 2658953002: cros: Test for overlapping ContinueSessionRestore calls (Closed)

Created:
3 years, 11 months ago by xiyuan
Modified:
3 years, 10 months ago
Reviewers:
jdufault, Daniel Erat
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

cros: Test for overlapping ContinueSessionRestore calls 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/2658953002 Cr-Commit-Position: refs/heads/master@{#447020} Committed: https://chromium.googlesource.com/chromium/src/+/5555191b32d4d5e6b8b956e310e1eb64aa7bc188

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+86 lines, -6 lines) Patch
M chrome/browser/chromeos/login/signin/oauth2_browsertest.cc View 6 chunks +86 lines, -6 lines 0 comments Download

Messages

Total messages: 13 (8 generated)
xiyuan
3 years, 11 months ago (2017-01-26 21:48:47 UTC) #2
Daniel Erat
lgtm thanks for adding this!
3 years, 10 months ago (2017-01-27 01:07:42 UTC) #7
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/2658953002/1
3 years, 10 months ago (2017-01-30 18:10:39 UTC) #9
commit-bot: I haz the power
Committed patchset #1 (id:1) as https://chromium.googlesource.com/chromium/src/+/5555191b32d4d5e6b8b956e310e1eb64aa7bc188
3 years, 10 months ago (2017-01-30 18:44:20 UTC) #12
tsergeant
3 years, 10 months ago (2017-01-30 23:56:05 UTC) #13
Message was sent while issue was closed.
A revert of this CL (patchset #1 id:1) has been created in
https://codereview.chromium.org/2663063002/ by tsergeant@chromium.org.

The reason for reverting is: This new test fails flakily on the Linux ChromiumOS
Tests (dbg)(1) bot.

See example failures:
https://luci-milo.appspot.com/buildbot/chromium.chromiumos/Linux%20ChromiumOS...
https://luci-milo.appspot.com/buildbot/chromium.chromiumos/Linux%20ChromiumOS....

Powered by Google App Engine
This is Rietveld 408576698