From 8d3924dc98ba5a3873ae21c3c60de97510eebc88 Mon Sep 17 00:00:00 2001 From: Abhijeet Kasurde Date: Aug 11 2017 10:13:21 +0000 Subject: Vault testcase improvement * Collect logs for install KRA Related: https://pagure.io/freeipa/issue/7098 Signed-off-by: Abhijeet Kasurde Reviewed-By: Tomas Krizek --- diff --git a/ipatests/pytest_plugins/integration/tasks.py b/ipatests/pytest_plugins/integration/tasks.py index 9341c29..6038e08 100644 --- a/ipatests/pytest_plugins/integration/tasks.py +++ b/ipatests/pytest_plugins/integration/tasks.py @@ -1163,7 +1163,9 @@ def install_kra(host, domain_level=None, first_instance=False, raiseonerr=True): if domain_level == DOMAIN_LEVEL_0 and not first_instance: replica_file = get_replica_filename(host) command.append(replica_file) - return host.run_command(command, raiseonerr=raiseonerr) + result = host.run_command(command, raiseonerr=raiseonerr) + setup_server_logs_collecting(host) + return result def install_ca(host, domain_level=None, first_instance=False, raiseonerr=True):