]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
qa: add wrappers for vstart's run() with check_status as False
authorRishabh Dave <ridave@redhat.com>
Wed, 13 Mar 2019 18:40:16 +0000 (00:10 +0530)
committerRishabh Dave <ridave@redhat.com>
Wed, 17 Apr 2019 18:28:22 +0000 (23:58 +0530)
commit532670bd05266e7f6851ea48633907d262a73ac6
treed5656204f4e35ff3cb6c08897d7b12bbcd1ed408
parente9bc9f84e55f1c78b542cf7774b40a48069610c4
qa: add wrappers for vstart's run() with check_status as False

Too often in tests it is required to run a command that we want to (or
will probably) fail so that we can check if it failed for expected
reason(s) (eg. a testcase where command must fail with "Permission
denied"). Therefore, add few wrapper methods for vstart_runner.py's
run() with check_status's default value as False so that we don't need
to pass check_status's value at every call to run() or it's other
wrappers.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
qa/tasks/vstart_runner.py