From: Patrick Donnelly Date: Mon, 2 Apr 2018 15:05:53 +0000 (-0700) Subject: vstart_runner: examine check_status before error X-Git-Tag: v13.1.0~421^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F21180%2Fhead;p=ceph.git vstart_runner: examine check_status before error Issue found by Rishabh Dave. Fix suggested by John Spray. Signed-off-by: Patrick Donnelly --- diff --git a/qa/tasks/vstart_runner.py b/qa/tasks/vstart_runner.py index 62ac2921dea..15428080f0d 100644 --- a/qa/tasks/vstart_runner.py +++ b/qa/tasks/vstart_runner.py @@ -155,7 +155,7 @@ class LocalRemoteProcess(object): if self.finished: # Avoid calling communicate() on a dead process because it'll # give you stick about std* already being closed - if self.exitstatus != 0: + if self.check_status and self.exitstatus != 0: raise CommandFailedError(self.args, self.exitstatus) else: return