From bb5f6769f0321244552fd6632b6cdbadf8c4be82 Mon Sep 17 00:00:00 2001 From: aborah-sudo Date: Thu, 21 May 2026 12:50:39 +0530 Subject: [PATCH] Tests: fix the tests to check the new pattern I got confirmation that this is simply a log change issue. We can fix the tests to check the new pattern. https://github.com/SSSD/sssd/pull/8540 Reviewed-by: Scott Poore --- src/tests/multihost/alltests/test_kcm.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tests/multihost/alltests/test_kcm.py b/src/tests/multihost/alltests/test_kcm.py index 017805c3af..bfe68f7dde 100644 --- a/src/tests/multihost/alltests/test_kcm.py +++ b/src/tests/multihost/alltests/test_kcm.py @@ -90,12 +90,12 @@ def test_refresh_contain_timestamp(self, for _ in range(12): time.sleep(10) grep_cmd = multihost.client[0].run_command( - f"grep 'calling ldap_search_ext with' {log_location}", + f"grep 'ldap_search_ext called:' {log_location}", raiseonerr=False) if grep_cmd.returncode == 0: break else: - pytest.fail("Failed to find 'calling ldap_search_ext with' in log file") + pytest.fail("Failed to find 'ldap_search_ext called:' in log file") assert 'modifyTimestamp>=' not in grep_cmd.stdout_text @pytest.mark.tier1_2