Changes to update server for robustness/testability.

- Add non-threaded mode to avoid sleeping in tests.
- Make things work if autotest.tar.bz2 is already present on startup.
- Remove dependency on pyinotify since we're already polling in the
  event loop anyway (and this doesn't work with symlinks, mv operations,
  etc.)
- Try harder to kill rsync server, since the first SIGTERM doesn't
  always work.

BUG=chrome-os-partner:10405
TEST=factory_update_server_unittest.py

Change-Id: I31be7c4c07798e17200827cb375ac77c1ccf432b
Reviewed-on: https://gerrit.chromium.org/gerrit/25067
Reviewed-by: Hung-Te Lin <hungte@chromium.org>
Commit-Ready: Jon Salz <jsalz@chromium.org>
Tested-by: Jon Salz <jsalz@chromium.org>
3 files changed
tree: 9d2881aa305cf2f8c785fe0fea042702d882897f
  1. .gitignore
  2. OWNERS
  3. cros_bundle/
  4. factory_setup/