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

Issue 1080593006: Fix flaky browser test SSLUITest.BadCertFollowedByGoodCert (Closed)

Created:
5 years, 8 months ago by jww
Modified:
5 years, 8 months ago
Reviewers:
*davidben, Ryan Sleevi
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix flaky browser test SSLUITest.BadCertFollowedByGoodCert A flaky test was added in https://codereview.chromium.org/1058003004/ that involved modifying the root cert cache, which did not happen reliably. This changes and simplifies the test to use two different servers on the same host, so the test passes since it relies on same-host not same-origin, but avoids modifying any caches. R=rsleevi@chromium.org BUG=480667 Committed: https://crrev.com/7299d59e226e8a5c8b46d36d7b9f9db7767f367f Cr-Commit-Position: refs/heads/master@{#326840}

Patch Set 1 #

Total comments: 12

Patch Set 2 : Removed extra includes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -41 lines) Patch
M chrome/browser/ssl/ssl_browser_tests.cc View 1 4 chunks +10 lines, -41 lines 0 comments Download

Messages

Total messages: 20 (7 generated)
jww
Ryan, can you check out this change to the test? I actually think it's overall ...
5 years, 8 months ago (2015-04-24 03:33:10 UTC) #2
Ryan Sleevi
Deferring this one to David; he's the better reviewer, since I was the one who ...
5 years, 8 months ago (2015-04-24 11:01:58 UTC) #5
Ryan Sleevi
https://codereview.chromium.org/1080593006/diff/1/chrome/browser/ssl/ssl_browser_tests.cc File chrome/browser/ssl/ssl_browser_tests.cc (right): https://codereview.chromium.org/1080593006/diff/1/chrome/browser/ssl/ssl_browser_tests.cc#newcode2335 chrome/browser/ssl/ssl_browser_tests.cc:2335: ASSERT_EQ(https_server_expired_host, https_server_host); This isn't part of the contract of ...
5 years, 8 months ago (2015-04-24 11:03:41 UTC) #6
jww
That's true, but there are also several years that depend on it. I can set ...
5 years, 8 months ago (2015-04-24 14:00:32 UTC) #7
Ryan Sleevi
On 2015/04/24 14:00:32, jww wrote: > That's true, but there are also several years that ...
5 years, 8 months ago (2015-04-24 14:03:14 UTC) #8
davidben
lgtm. I'm not too worried about the hostname thing. It means we'll need to change ...
5 years, 8 months ago (2015-04-24 14:53:01 UTC) #9
jww
Thanks, and sorry about forgetting to remove those includes! https://codereview.chromium.org/1080593006/diff/1/chrome/browser/ssl/ssl_browser_tests.cc File chrome/browser/ssl/ssl_browser_tests.cc (right): https://codereview.chromium.org/1080593006/diff/1/chrome/browser/ssl/ssl_browser_tests.cc#newcode45 chrome/browser/ssl/ssl_browser_tests.cc:45: ...
5 years, 8 months ago (2015-04-24 17:26:35 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1080593006/20001
5 years, 8 months ago (2015-04-24 17:27:33 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/58859)
5 years, 8 months ago (2015-04-24 17:36:56 UTC) #15
Ryan Sleevi
lgtm
5 years, 8 months ago (2015-04-24 18:01:19 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1080593006/20001
5 years, 8 months ago (2015-04-24 18:02:42 UTC) #18
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 8 months ago (2015-04-24 18:14:16 UTC) #19
commit-bot: I haz the power
5 years, 8 months ago (2015-04-24 18:15:04 UTC) #20
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/7299d59e226e8a5c8b46d36d7b9f9db7767f367f
Cr-Commit-Position: refs/heads/master@{#326840}

Powered by Google App Engine
This is Rietveld 408576698