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

Issue 1782273002: Make the SSLServerSocket unittests less crashy (Closed)

Created:
4 years, 9 months ago by Ryan Sleevi
Modified:
4 years, 9 months ago
Reviewers:
eroman
CC:
chromium-reviews, cbentzel+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make the SSLServerSocket unittests less crashy Currently, the SSLServerSocket tests can be non-deterministically crashy when preconditions fail, due to use of CHECKS and not ASSERT_ing that returned/created pointers are valid before using. To make the tests more robustly deterministic in the face of failure, and to avoid making memory bots extra sad, liberally sprinkle ASSERT_*s throughout the code to ensure that all pre-conditions of the code under test are valid. BUG=none R=eroman@chromium.org Committed: https://crrev.com/a5c430225dd9266b1fee40dda9d29b989c133279 Cr-Commit-Position: refs/heads/master@{#380548}

Patch Set 1 #

Patch Set 2 : Fix test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+74 lines, -50 lines) Patch
M net/socket/ssl_server_socket_unittest.cc View 1 27 chunks +74 lines, -50 lines 0 comments Download

Messages

Total messages: 27 (13 generated)
Ryan Sleevi
4 years, 9 months ago (2016-03-10 22:39:40 UTC) #1
eroman
lgtm
4 years, 9 months ago (2016-03-10 22:58:22 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1782273002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1782273002/1
4 years, 9 months ago (2016-03-10 23:02:42 UTC) #4
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/138081) linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, ...
4 years, 9 months ago (2016-03-10 23:16:51 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1782273002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1782273002/1
4 years, 9 months ago (2016-03-11 02:27:22 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1782273002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1782273002/20001
4 years, 9 months ago (2016-03-11 02:29:25 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/187666) win_chromium_x64_rel_ng on tryserver.chromium.win (JOB_FAILED, ...
4 years, 9 months ago (2016-03-11 02:38:03 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1782273002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1782273002/20001
4 years, 9 months ago (2016-03-11 02:40:54 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/187681) win_chromium_x64_rel_ng on tryserver.chromium.win (JOB_FAILED, ...
4 years, 9 months ago (2016-03-11 02:51:02 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1782273002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1782273002/20001
4 years, 9 months ago (2016-03-11 03:26:08 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_compile_dbg_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_compile_dbg_ng/builds/158353)
4 years, 9 months ago (2016-03-11 03:37:00 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1782273002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1782273002/20001
4 years, 9 months ago (2016-03-11 05:24:15 UTC) #24
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 9 months ago (2016-03-11 05:55:20 UTC) #25
commit-bot: I haz the power
4 years, 9 months ago (2016-03-11 05:56:54 UTC) #27
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/a5c430225dd9266b1fee40dda9d29b989c133279
Cr-Commit-Position: refs/heads/master@{#380548}

Powered by Google App Engine
This is Rietveld 408576698