]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commit
orchestra.run: Fix bug in RemoteProcess.finished
authorZack Cerza <zack@redhat.com>
Thu, 9 Mar 2017 22:27:31 +0000 (15:27 -0700)
committerZack Cerza <zack@redhat.com>
Fri, 10 Mar 2017 20:48:14 +0000 (13:48 -0700)
commit9ee0d6d6da1b33585637e829dc25f81b01118cc5
tree0482e2d8dc452fb2c74530d89a6008060b31c1b3
parent13e7f0d8027216c272af544850e23f463cfc1e14
orchestra.run: Fix bug in RemoteProcess.finished

Previously, if wait() had not been called, we didn't have the returncode
attribute set. Set it from within the finished property if it isn't
already.

Signed-off-by: Zack Cerza <zack@redhat.com>
teuthology/orchestra/run.py