From 465f1669a6c5abc72da1ecaf9aefa8488f80806c Mon Sep 17 00:00:00 2001 From: Anuja More Date: Mon, 13 Dec 2021 17:37:05 +0530 Subject: [PATCH] ipatests: Test default value of nsslapd-sizelimit. related : https://pagure.io/freeipa/issue/8962 Signed-off-by: Anuja More Reviewed-By: Florence Blanc-Renaud --- ipatests/test_integration/test_installation.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/ipatests/test_integration/test_installation.py b/ipatests/test_integration/test_installation.py index 95cfaad54c33a581c6af352097ea95ed435ea2b1..0947241ae2738419c4855e2517670c9033e634f0 100644 --- a/ipatests/test_integration/test_installation.py +++ b/ipatests/test_integration/test_installation.py @@ -1067,6 +1067,19 @@ class TestInstallMaster(IntegrationTest): ) assert "nsslapd-db-locks" not in result.stdout_text + def test_nsslapd_sizelimit(self): + """ Test for default value of nsslapd-sizelimit. + + Related : https://pagure.io/freeipa/issue/8962 + """ + result = tasks.ldapsearch_dm( + self.master, + "cn=config", + ["nsslapd-sizelimit"], + scope="base" + ) + assert "nsslapd-sizelimit: 100000" in result.stdout_text + def test_admin_root_alias_CVE_2020_10747(self): # Test for CVE-2020-10747 fix # https://bugzilla.redhat.com/show_bug.cgi?id=1810160 -- 2.34.1