Skip to content

Commit

Permalink
Merge pull request #16815 from tinawang123/s389ds
Browse files Browse the repository at this point in the history
Added retry a few times to get the memberof parameter
  • Loading branch information
sofiasyria committed Apr 11, 2023
2 parents b12308b + 67e2e25 commit 8b86924
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/migration/openldap_to_389ds.pm
Expand Up @@ -57,7 +57,7 @@ sub run {
systemctl("status sssd");

# check memeberof plugin
validate_script_output("ldapsearch -H ldap://localhost -b 'dc=ldapdom,dc=net' -s sub -x -D 'cn=Directory Manager' -w $password memberof", sub { m/memberof:.*group1/ });
validate_script_output_retry("ldapsearch -H ldap://localhost -b 'dc=ldapdom,dc=net' -s sub -x -D 'cn=Directory Manager' -w $password memberof", sub { m/memberof:.*group1/ }, retry => 5, delay => 60);
validate_script_output('getent passwd testuser1\@ldapdom', sub { m/testuser1.*testuser1/ });

}
Expand Down

0 comments on commit 8b86924

Please sign in to comment.