URL: https://github.com/freeipa/freeipa/pull/961
Author: Akasurde
 Title: #961: [WIP] Vault testcase improvement
Action: opened

PR body:
"""
* Collect logs for install KRA

fixes: #7098

Signed-off-by: Abhijeet Kasurde <akasu...@redhat.com>
"""

To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/961/head:pr961
git checkout pr961
From e6b20185a6c93f598d47a3aad2f146a4d619c57c Mon Sep 17 00:00:00 2001
From: Abhijeet Kasurde <akasu...@redhat.com>
Date: Wed, 9 Aug 2017 18:12:32 +0530
Subject: [PATCH] [WIP] Vault testcase improvement

* Collect logs for install KRA

fixes: #7098

Signed-off-by: Abhijeet Kasurde <akasu...@redhat.com>
---
 ipatests/pytest_plugins/integration/tasks.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/ipatests/pytest_plugins/integration/tasks.py b/ipatests/pytest_plugins/integration/tasks.py
index 9341c2910f..6038e08ab1 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):
_______________________________________________
FreeIPA-devel mailing list -- freeipa-devel@lists.fedorahosted.org
To unsubscribe send an email to freeipa-devel-le...@lists.fedorahosted.org

Reply via email to