URL: https://github.com/freeipa/freeipa/pull/4929
Author: flo-renaud
 Title: #4929: [Backport][ipa-4-8] ipatests: Increase timeout value in 
test_getcert_list_profile_using_subca
Action: opened

PR body:
"""
This PR was opened automatically because PR #4924 was pushed to master and 
backport to ipa-4-8 is required.
"""

To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/4929/head:pr4929
git checkout pr4929
From 9f67126b8695f477d4642ee055f1c3cb834c780f Mon Sep 17 00:00:00 2001
From: sumenon <sume...@redhat.com>
Date: Thu, 16 Jul 2020 14:14:45 +0530
Subject: [PATCH] ipatests: Increase timeout value in
 test_getcert_list_profile_using_subca

test_getcert_list_profile_using_subca test had a timeout value of 50
waiting for the cert to be in MONITORING state, this has now been
replaced with 300, since the certmonger request was in state SUBMITTING
instead of MONITORING causing the test to fail.
---
 ipatests/test_integration/test_cert.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ipatests/test_integration/test_cert.py b/ipatests/test_integration/test_cert.py
index f864dce5ae..865578941c 100644
--- a/ipatests/test_integration/test_cert.py
+++ b/ipatests/test_integration/test_cert.py
@@ -206,7 +206,7 @@ def test_getcert_list_profile_using_subca(self, test_subca_certs):
         assert (
             'New signing request "test-request" added.\n' in result.stdout_text
         )
-        status = tasks.wait_for_request(self.master, "test-request", 50)
+        status = tasks.wait_for_request(self.master, "test-request", 300)
         if status == "MONITORING":
             result = self.master.run_command(
                 ["getcert", "list", "-i", "test-request"]
_______________________________________________
FreeIPA-devel mailing list -- freeipa-devel@lists.fedorahosted.org
To unsubscribe send an email to freeipa-devel-le...@lists.fedorahosted.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedorahosted.org/archives/list/freeipa-devel@lists.fedorahosted.org

Reply via email to