summaryrefslogtreecommitdiffstats
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:29 +0200
commit0c37f95e04328ef38e3f391ed9541136244bcc6e (patch)
tree51642811f9ccf3cdf6d311e68cc51aa5ecc6f777
parent6c9fc8121482b678cb73eceeea71ff397232c303 (diff)
downloadfreeipa.git-0c37f95e04328ef38e3f391ed9541136244bcc6e.tar.gz
freeipa.git-0c37f95e04328ef38e3f391ed9541136244bcc6e.tar.xz
freeipa.git-0c37f95e04328ef38e3f391ed9541136244bcc6e.zip
ipatests.beakerlib_plugin: Warn instead of failing when some logs are missing
-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 2f38fe2e..2635e4b8 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()