summaryrefslogtreecommitdiff
path: root/scripts/update_payload/checker_unittest.py
diff options
context:
space:
mode:
authorColin Howes <chowes@google.com>2018-12-03 11:46:12 -0800
committerchrome-bot <chrome-bot@chromium.org>2018-12-04 14:00:05 -0800
commit978c1081373dba279c2c9d5b308e093c3e13707a (patch)
treef5c046107a867f22ce1fb142cc3b5ed6e91d0326 /scripts/update_payload/checker_unittest.py
parentf9e5656462ee760b83bb89dbdf533565c8543921 (diff)
update_attempter: Set is_install_ to false when doing a rollback.
We weren't setting is_install_ when performing a rollback, meaning it was potentially left uninitialized or had a stale value from a previous install/update attempt. Explicitly set is_install_ in Rollback() and in the UpdateAttempter constructor. BUG=chromium:905704 TEST=Add a unittest. Change-Id: I19b646d689cab869a2aca0cd82def252c370184b Reviewed-on: https://chromium-review.googlesource.com/1359109 Commit-Ready: Colin Howes <chowes@google.com> Tested-by: Colin Howes <chowes@google.com> Reviewed-by: Amin Hassani <ahassani@chromium.org>
Diffstat (limited to 'scripts/update_payload/checker_unittest.py')
0 files changed, 0 insertions, 0 deletions