]> git.apps.os.sepia.ceph.com Git - teuthology.git/commit
teuthology/orchestra: use reconnect() in ensure_online() pr1468 1468/head
authorKefu Chai <kchai@redhat.com>
Fri, 8 May 2020 11:31:52 +0000 (19:31 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 8 May 2020 12:04:42 +0000 (20:04 +0800)
commitce1a1405cbcb67fd88ddb81a54b29d7146554208
treec47434efc35e2acd90a63f62ffeb368ca57e1ac6
parent28c1ab59a077e10552ab2d46d17c688b44a713eb
teuthology/orchestra: use reconnect() in ensure_online()

* to avoid testing the connection by sending "true" for every command
  sent to remote.
* to reset the connection in ensure_online() to make sure a new
  connection is used

Signed-off-by: Kefu Chai <kchai@redhat.com>
teuthology/misc.py
teuthology/orchestra/remote.py