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