URL: https://github.com/freeipa/freeipa/pull/4924
Author: menonsudhir
 Title: #4924: ipatests: Increase timeout value in 
test_getcert_list_profile_using_subca
Action: opened

PR body:
"""
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.
"""

To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/4924/head:pr4924
git checkout pr4924
From c0e03c7535ec8ec22540a7665521adbffe7a0f12 Mon Sep 17 00:00:00 2001
From: sumenon <sume...@redhat.com>
Date: Thu, 16 Jul 2020 14:14:45 +0530
Subject: [PATCH 1/2] ipatests: Increase  timeout waiting for cert issuance

test_subca_certs test had a timeout waiting of 50 for cert
issuance which has now been replaced with 300, since
the certmonger request was in state SUBMITTING, instead
of MONITORING which is required for test to proceed further.
---
 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"]

From ce1515892594a64e739fd82dc45c68fe7de4c308 Mon Sep 17 00:00:00 2001
From: sumenon <sume...@redhat.com>
Date: Thu, 16 Jul 2020 14:22:16 +0530
Subject: [PATCH 2/2] Temp Commit

---
 .freeipa-pr-ci.yaml                        | 2 +-
 ipatests/prci_definitions/temp_commit.yaml | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/.freeipa-pr-ci.yaml b/.freeipa-pr-ci.yaml
index abcf8c5b63..8065669008 120000
--- a/.freeipa-pr-ci.yaml
+++ b/.freeipa-pr-ci.yaml
@@ -1 +1 @@
-ipatests/prci_definitions/gating.yaml
\ No newline at end of file
+ipatests/prci_definitions/temp_commit.yaml
\ No newline at end of file
diff --git a/ipatests/prci_definitions/temp_commit.yaml b/ipatests/prci_definitions/temp_commit.yaml
index e337068145..69f6d27e34 100644
--- a/ipatests/prci_definitions/temp_commit.yaml
+++ b/ipatests/prci_definitions/temp_commit.yaml
@@ -68,7 +68,7 @@ jobs:
       class: RunPytest
       args:
         build_url: '{fedora-latest/build_url}'
-        test_suite: test_integration/test_REPLACEME.py
+        test_suite: test_integration/test_cert.py::TestInstallMasterClient::test_getcert_list_profile_using_subca
         template: *ci-master-latest
         timeout: 3600
         topology: *master_1repl_1client
_______________________________________________
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