URL: https://github.com/freeipa/freeipa/pull/2246 Author: mrizwan93 Title: #2246: Test if WSGI worker process count is set to 4 Action: opened
PR body: """ Test if WSGI worker process count is set to 4 in /etc/httpd/conf.d/ipa.conf cat /etc/httpd/conf.d/ipa.conf | grep processes WSGIDaemonProcess ipa processes=4 threads=1 maximum-requests=500 \ [root@vm-idm-027 ~]# related ticket : https://pagure.io/freeipa/issue/7587 Signed-off-by: Mohammad Rizwan Yusuf <myu...@redhat.com> """ To pull the PR as Git branch: git remote add ghfreeipa https://github.com/freeipa/freeipa git fetch ghfreeipa pull/2246/head:pr2246 git checkout pr2246
From 3cb8d576bca7b6f3b7cb250681a36179992754c8 Mon Sep 17 00:00:00 2001 From: Mohammad Rizwan Yusuf <myu...@redhat.com> Date: Mon, 13 Aug 2018 18:54:48 +0530 Subject: [PATCH] Test if WSGI worker process count is set to 4 related ticket : https://pagure.io/freeipa/issue/7587 Signed-off-by: Mohammad Rizwan Yusuf <myu...@redhat.com> --- ipatests/test_integration/test_installation.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/ipatests/test_integration/test_installation.py b/ipatests/test_integration/test_installation.py index e8f168d994..7286f9b43b 100644 --- a/ipatests/test_integration/test_installation.py +++ b/ipatests/test_integration/test_installation.py @@ -389,6 +389,16 @@ def test_install_dns(self): tasks.install_dns(self.master) + def test_WSGI_worker_process(self): + """ Test if WSGI worker process count is set to 4 + + related ticket : https://pagure.io/freeipa/issue/7587 + """ + master = self.master + httpd_conf = master.get_file_contents('/etc/httpd/conf.d/ipa.conf') + assert "WSGIDaemonProcess ipa processes=4" in httpd_conf + + class TestInstallMasterKRA(IntegrationTest): num_replicas = 0
_______________________________________________ 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://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/freeipa-devel@lists.fedorahosted.org/message/OEYDSTOMJ563XRIRHHA5S6AQFIOMPPXC/