Vault testcase improvement

* Collect logs for install KRA

Related: https://pagure.io/freeipa/issue/7098

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
Reviewed-By: Tomas Krizek <tkrizek@redhat.com>
This commit is contained in:
Abhijeet Kasurde
2017-08-09 18:12:32 +05:30
committed by Tomas Krizek
parent 7d217c8c9b
commit 8d3924dc98

View File

@@ -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):