mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2025-12-20 07:25:59 +00:00
Add a magic wait for the Active Directory kickstart enrol test
We get quite a few failures where the getent passwd 'SAMDOM\Administrator' check just returns nothing for some reason. It seems like it might be a network race or something, and this magic wait looks like it helps after a few days testing on staging, so let's try it in prod too. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
9af30427e8
commit
a472448fa4
@ -21,6 +21,8 @@ sub run {
|
||||
# we don't have sssd debugging enabled yet
|
||||
assert_script_run 'dnf -y install sssd-tools', 240;
|
||||
assert_script_run 'sss_debuglevel 9';
|
||||
# magic wait for AD test to avoid getent passwd check fails
|
||||
sleep 15 if ($domain =~ m/samdom/);
|
||||
}
|
||||
# check domain is listed in 'realm list'
|
||||
validate_script_output 'realm list', sub { $_ =~ m/domain-name: $qdomain.*configured: kerberos-member/s };
|
||||
|
||||
Loading…
Reference in New Issue
Block a user