diff options
author | Alex Deymo <deymo@chromium.org> | 2015-06-30 23:11:44 -0700 |
---|---|---|
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | 2015-07-01 19:48:24 +0000 |
commit | 13e0dd63e68f2003b46d413d499760b5a7631a03 (patch) | |
tree | 88bbe00e107a0375489f76051689c7fb5801800b /payload_generator/ext2_filesystem_unittest.cc | |
parent | 14158570d3995008dc93a628004118b87a6bca01 (diff) |
update_engine: client waits for the service to be ready.
In some test scenarios we re-start the update_engine daemon and then run
update_engine_client right away. In those cases, we need to wait for
update_engine daemon to register the D-Bus service before we can talk
to it.
This patch waits up to 10 seconds for the update_engine daemon to be ready.
BUG=chromium:506053
TEST=stop update-engine ; /tmp/update_engine_client -status
TEST=restart update-engine ; /tmp/update_engine_client -status
Change-Id: Ia1496d2f849c12ff341b901237e5cbb13ef046dd
Reviewed-on: https://chromium-review.googlesource.com/282747
Reviewed-by: Alex Vakulenko <avakulenko@chromium.org>
Commit-Queue: Alex Deymo <deymo@chromium.org>
Trybot-Ready: Alex Deymo <deymo@chromium.org>
Tested-by: Alex Deymo <deymo@chromium.org>
Diffstat (limited to 'payload_generator/ext2_filesystem_unittest.cc')
0 files changed, 0 insertions, 0 deletions