summaryrefslogtreecommitdiff
path: root/metrics_utils_unittest.cc
diff options
context:
space:
mode:
authorXiaochu Liu <xiaochu@chromium.org>2019-08-05 17:06:35 +0000
committerCommit Bot <commit-bot@chromium.org>2019-08-08 17:48:31 +0000
commita4fa660c3a73fa9693be1613ee9947a4bffcc3b0 (patch)
treed6a98d82b052f6dcad1c3b5d33c82b67a734131c /metrics_utils_unittest.cc
parent916af851d46c3a546993ad639573fdb3c1c05ac9 (diff)
Revert "update_engine: trigger a crash on unrecoverable condition"
This reverts commit 1329fd880962c9441d4ca462e8cda3fbc29049c9. Reason for revert: https://crbug.com/962730#c18 Original change's description: > update_engine: trigger a crash on unrecoverable condition > > CURLM_INTERNAL_ERROR and CURLM_OUT_OF_MEMORY are two libcurl error codes > that caller (update_engine) has no way to recover on its own. Reference: https://curl.haxx.se/libcurl/c/libcurl-errors.html > > Since those error conditions aren't recoverable and might be responsible > for the failures to update observed in crbug.com/927039, we exit and let the > system respawn update_engine to start from a fresh state and recover. > > BUG=chromium:962730,chromium:927039 > TEST=unittest > > Change-Id: I55946e58e518da5bc5cb0c23690430c6298b8582 > Reviewed-on: https://chromium-review.googlesource.com/1616425 > Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com> > Tested-by: Xiaochu Liu <xiaochu@chromium.org> > Legacy-Commit-Queue: Commit Bot <commit-bot@chromium.org> > Reviewed-by: Amin Hassani <ahassani@chromium.org> TBR=senj@chromium.org,norvez@chromium.org,ahassani@chromium.org,xiaochu@chromium.org,chromiumos-cl-exonerator@appspot.gserviceaccount.com # Not skipping CQ checks because original CL landed > 1 day ago. Bug: chromium:962730, chromium:927039 Change-Id: I3d10173cdacfcd1edf22b4515dce6091e9d3b258 Reviewed-on: https://chromium-review.googlesource.com/c/aosp/platform/system/update_engine/+/1737130 Reviewed-by: Xiaochu Liu <xiaochu@chromium.org> Reviewed-by: Amin Hassani <ahassani@chromium.org> Tested-by: Xiaochu Liu <xiaochu@chromium.org> Commit-Queue: Xiaochu Liu <xiaochu@chromium.org>
Diffstat (limited to 'metrics_utils_unittest.cc')
0 files changed, 0 insertions, 0 deletions