Skip to content

Commit

Permalink
Tests: Fix multidomain tests
Browse files Browse the repository at this point in the history
Multidomain tests are failing in RHEL9 due to config error.
This PR will fix them for RHEL9.

Reviewed-by: Steeve Goveas <[email protected]>
  • Loading branch information
aborah-sudo authored and pbrezina committed Sep 27, 2022
1 parent a241775 commit 1ed3baa
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/tests/multihost/alltests/test_multidomain.py
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,9 @@ def test_0013_filesldap(self, multihost, multidomain_sssd, localusers):
:id: 50cc738c-d522-426f-a2cb-6e2ee37db86b
"""
multidomain_sssd(domains='local_ldap')
domain_params = {'enable_files_domain': 'true'}
tools = sssdTools(multihost.client[0])
tools.sssd_conf('sssd', domain_params, action='update')
ret = multihost.client[0].service_sssd('start')
assert ret == 0
for idx in range(10):
Expand Down Expand Up @@ -571,6 +574,8 @@ def test_0026_bz1884196(self, multihost, multidomain_sssd):
"""
multidomain_sssd(domains='ldap_ldap')
tools = sssdTools(multihost.client[0])
domain_params = {'enable_files_domain': 'true'}
tools.sssd_conf('sssd', domain_params, action='update')
domain_params = {'domains': ''}
tools = sssdTools(multihost.client[0])
tools.sssd_conf('sssd', domain_params, action='update')
Expand Down Expand Up @@ -611,6 +616,8 @@ def test_0027_bz1884196(self, multihost, multidomain_sssd):
"""
multidomain_sssd(domains='ldap_ldap')
tools = sssdTools(multihost.client[0])
domain_params = {'enable_files_domain': 'true'}
tools.sssd_conf('sssd', domain_params, action='update')
domain_params = {'domains': ''}
tools = sssdTools(multihost.client[0])
tools.sssd_conf('sssd', domain_params, action='update')
Expand Down

0 comments on commit 1ed3baa

Please sign in to comment.