summaryrefslogtreecommitdiffstats
path: root/ipatests/beakerlib_plugin.py
diff options
context:
space:
mode:
authorPetr Viktorin <pviktori@redhat.com>2013-09-23 15:40:12 +0200
committerPetr Viktorin <pviktori@redhat.com>2013-10-03 19:50:35 +0200
commita942ab4f122dceaa075cff0525bf7a4bda04cafe (patch)
treefb59ac90d7e67de20971ad43a85cd5215c684239 /ipatests/beakerlib_plugin.py
parent23921f40d902fc7e13022b651f64375ea34da848 (diff)
downloadfreeipa-a942ab4f122dceaa075cff0525bf7a4bda04cafe.tar.gz
freeipa-a942ab4f122dceaa075cff0525bf7a4bda04cafe.tar.xz
freeipa-a942ab4f122dceaa075cff0525bf7a4bda04cafe.zip
ipatests.beakerlib_plugin: Warn instead of failing when some logs are missing
Diffstat (limited to 'ipatests/beakerlib_plugin.py')
-rw-r--r--ipatests/beakerlib_plugin.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/ipatests/beakerlib_plugin.py b/ipatests/beakerlib_plugin.py
index 2f38fe2ec..2635e4b80 100644
--- a/ipatests/beakerlib_plugin.py
+++ b/ipatests/beakerlib_plugin.py
@@ -115,8 +115,7 @@ class BeakerLibProcess(object):
cmd = host.run_command(['tar', 'cJv'] + logs, log_stdout=False,
raiseonerr=False)
if cmd.returncode:
- self.run_beakerlib_command(
- ['rlFail', 'Could not collect all requested logs'])
+ self.log.warn('Could not collect all requested logs')
# Copy and unpack on the local side
topdirname = tempfile.mkdtemp()