Retries getting status of update_engine on error before giving up.
Since the update_engine is single threaded, sometimes the operations (like
system write) take too long time and this prevents the update_engine from
resonding to dbus signals. Retrying when the status is "dbus signal failure"
might alleviate the problem. (This CL does not handle the error codes).
BUG=chromium:738024
TEST=none
Change-Id: Ic1b7816b797d84fc6a8c7c7540ddaa22cd3d4d1b
Reviewed-on: https://chromium-review.googlesource.com/556356
Commit-Ready: Grant Grundler <grundler@chromium.org>
Tested-by: Lann Martin <lannm@chromium.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Grant Grundler <grundler@chromium.org>
1 file changed