Skip to content

Commit dac8706

Browse files
committed
Tests: Remove test_008_wildcardsearch for RHEL10
Remove test_008_wildcardsearch for RHEL10
1 parent 36b1d97 commit dac8706

File tree

1 file changed

+0
-57
lines changed

1 file changed

+0
-57
lines changed

src/tests/multihost/alltests/test_automount.py

Lines changed: 0 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -468,63 +468,6 @@ def test_008_wildcardsearch(self, multihost, indirect_nismaps,
468468
del_pcap = 'rm -f %s' % auto_pcapfile
469469
multihost.client[0].run_command(del_pcap)
470470

471-
@pytest.mark.parametrize('add_nisobject', ['/export'], indirect=True)
472-
@pytest.mark.tier2
473-
def test_009_maps_after_coming_online(self, multihost, add_nisobject):
474-
"""
475-
:title: fetch autofs map after coming online from offline
476-
:id: b9da6e0e-3d8b-4465-b435-338708d0d51e
477-
:bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1113639
478-
:customerscenario: True
479-
:steps:
480-
1. edit sssd.conf and specify autofs_provider = ad
481-
2. restart autofs
482-
3. firewalld block 389 and 636
483-
4. stop sssd, autofs.
484-
5. remove sssd cache
485-
6. Start sssd
486-
7. remove firewall rule
487-
8. start autofs
488-
:expectedresults:
489-
1. Should succeed
490-
2. Should succeed
491-
3. Should succeed
492-
4. Should succeed
493-
5. Should succeed
494-
6. Should succeed
495-
7. Should succeed
496-
8. Should succeed
497-
"""
498-
multihost.master[0].run_command(['touch', '/export/nfs-test'])
499-
client = sssdTools(multihost.client[0])
500-
domain_name = client.get_domain_section_name()
501-
for service in ['sssd', 'autofs']:
502-
client.service_ctrl("stop", service)
503-
client.service_ctrl("start", "firewalld")
504-
multihost.client[0].run_command("iptables -A "
505-
"OUTPUT -p tcp "
506-
"--dport 636 -j DROP")
507-
multihost.client[0].run_command("iptables -A "
508-
"OUTPUT -p tcp "
509-
"--dport 389 -j DROP")
510-
client.clear_sssd_cache()
511-
time.sleep(5)
512-
cmdy = 'id foo1@%s' % domain_name
513-
multihost.client[0].run_command(cmdy, raiseonerr=False)
514-
cmd = 'sssctl domain-status %s' % domain_name
515-
cmd1 = multihost.client[0].run_command(cmd, raiseonerr=False)
516-
find = re.compile(r'Online status: Offline')
517-
result = find.search(cmd1.stdout_text)
518-
assert result is not None
519-
client.firewall_port(636, 'OPEN')
520-
client.firewall_port(389, 'OPEN')
521-
client.firewall_port('ALL', 'delall')
522-
client.service_ctrl("stop", "firewalld")
523-
multihost.client[0].run_command("iptables -F")
524-
time.sleep(60)
525-
cmd2 = client.service_ctrl("start", "autofs")
526-
assert cmd2 == 0
527-
528471
@pytest.mark.parametrize('add_nisobject', ['/export'], indirect=True)
529472
@pytest.mark.tier1
530473
def test_010_delay_in_unknown_mnt_pt_lookup_error(self, multihost,

0 commit comments

Comments
 (0)