Do not crash shard_client with MultipleObjectsReturned exception |
|||
Issue description_remove_incorrect_hosts threw MultipleObjectsReturned and crashed shard_cient. Fix it by catching the error and logging errors instead.
,
Mar 29 2018
,
Mar 30 2018
The following revision refers to this bug: https://chromium.googlesource.com/chromiumos/third_party/autotest/+/cdc2310f288555f91078babb02c151bc1dbe6cbd commit cdc2310f288555f91078babb02c151bc1dbe6cbd Author: Ningning Xia <nxia@google.com> Date: Fri Mar 30 21:40:12 2018 Do not crash shard_client with MultipleObjectsReturned exception BUG= chromium:827330 TEST=unit test Change-Id: I22d3bcc4ac9c041bc350f1741898728d0b0aff31 Reviewed-on: https://chromium-review.googlesource.com/986925 Commit-Ready: Ningning Xia <nxia@chromium.org> Tested-by: Ningning Xia <nxia@chromium.org> Reviewed-by: Ningning Xia <nxia@chromium.org> [modify] https://crrev.com/cdc2310f288555f91078babb02c151bc1dbe6cbd/scheduler/shard/shard_client.py [modify] https://crrev.com/cdc2310f288555f91078babb02c151bc1dbe6cbd/scheduler/shard/shard_client_unittest.py
,
Apr 2 2018
|
|||
►
Sign in to add a comment |
|||
Comment 1 by nxia@chromium.org
, Mar 29 2018