diff --git a/tests/role_deploy_domain_controller.pm b/tests/role_deploy_domain_controller.pm index 86b12d95..b55863e8 100644 --- a/tests/role_deploy_domain_controller.pm +++ b/tests/role_deploy_domain_controller.pm @@ -126,6 +126,7 @@ sub run { validate_script_output 'ipa sudorule-show testrule', sub { $_ =~ m/Users: test1/ }; # This may fail - Invalidate sudo cache and check test1's sudo perms assert_script_run 'sss_cache -R'; + sleep(120); validate_script_output 'sudo -l -U test1', sub { $_ =~ m/test1 may run the following commands/ }; # we're ready for children to enroll, now