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

Issue 207063003: Add missing call to TestRootCerts::Clear() after usage. (Closed)

Created:
6 years, 9 months ago by haavardm
Modified:
6 years, 9 months ago
Reviewers:
wtc, Ryan Sleevi
CC:
chromium-reviews, cbentzel+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Add missing calls to TestRootCerts::Clear() after usage. The next unit test that uses TestRootCerts may fail if TestRootCerts instance is not empty. So every unit test that uses TestRootCerts needs to clear it at the end. BUG=none Test=none Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=259558

Patch Set 1 : Add missing calls to TestRootCerts::Clear() #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -0 lines) Patch
M net/cert/cert_verify_proc_unittest.cc View 2 chunks +5 lines, -0 lines 3 comments Download

Messages

Total messages: 16 (0 generated)
haavardm
I rather small patch to fix a test failure on linux using OpenSSL.
6 years, 9 months ago (2014-03-25 12:29:35 UTC) #1
wtc
Patch set 1 LGTM. Thanks! General comments: I really like that you always describe the ...
6 years, 9 months ago (2014-03-25 16:00:19 UTC) #2
wtc
I wonder if we should add a ScopedTestRootCerts helper class to ensure that a unit ...
6 years, 9 months ago (2014-03-25 16:02:33 UTC) #3
Ryan Sleevi
We have ScopedTestRoot. It is used elsewhere, to avoid this problem. I believe we did ...
6 years, 9 months ago (2014-03-25 16:17:37 UTC) #4
haavardm
On 2014/03/25 16:00:19, wtc wrote: > Patch set 1 LGTM. Thanks! > > General comments: ...
6 years, 9 months ago (2014-03-25 17:17:31 UTC) #5
haavardm
https://codereview.chromium.org/207063003/diff/1/net/cert/cert_verify_proc_unittest.cc File net/cert/cert_verify_proc_unittest.cc (right): https://codereview.chromium.org/207063003/diff/1/net/cert/cert_verify_proc_unittest.cc#newcode1017 net/cert/cert_verify_proc_unittest.cc:1017: root_certs->Clear(); On 2014/03/25 16:00:19, wtc wrote: > > Please ...
6 years, 9 months ago (2014-03-25 17:18:03 UTC) #6
wtc
On 2014/03/25 17:17:31, Håvard Molland wrote: > > Right. So info needed for reviewers in ...
6 years, 9 months ago (2014-03-25 22:24:01 UTC) #7
wtc
https://codereview.chromium.org/207063003/diff/1/net/cert/cert_verify_proc_unittest.cc File net/cert/cert_verify_proc_unittest.cc (right): https://codereview.chromium.org/207063003/diff/1/net/cert/cert_verify_proc_unittest.cc#newcode1017 net/cert/cert_verify_proc_unittest.cc:1017: root_certs->Clear(); On 2014/03/25 17:18:03, Håvard Molland wrote: > > ...
6 years, 9 months ago (2014-03-25 22:24:13 UTC) #8
haavardm
The CQ bit was checked by haavardm@opera.com
6 years, 9 months ago (2014-03-26 09:01:32 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/haavardm@opera.com/207063003/1
6 years, 9 months ago (2014-03-26 09:01:33 UTC) #10
haavardm
On 2014/03/25 22:24:13, wtc wrote: > https://codereview.chromium.org/207063003/diff/1/net/cert/cert_verify_proc_unittest.cc > File net/cert/cert_verify_proc_unittest.cc (right): > > https://codereview.chromium.org/207063003/diff/1/net/cert/cert_verify_proc_unittest.cc#newcode1017 > ...
6 years, 9 months ago (2014-03-26 09:42:33 UTC) #11
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-26 10:37:46 UTC) #12
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) content_browsertests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=288175
6 years, 9 months ago (2014-03-26 10:37:46 UTC) #13
haavardm
The CQ bit was checked by haavardm@opera.com
6 years, 9 months ago (2014-03-26 11:15:52 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/haavardm@opera.com/207063003/1
6 years, 9 months ago (2014-03-26 11:15:57 UTC) #15
commit-bot: I haz the power
6 years, 9 months ago (2014-03-26 12:33:18 UTC) #16
Message was sent while issue was closed.
Change committed as 259558

Powered by Google App Engine
This is Rietveld 408576698