From efa71dc0b3e17959f63f6faf5cb783df568eec69 Mon Sep 17 00:00:00 2001 From: Trevor Cooper Date: Wed, 23 Aug 2023 13:28:39 -0700 Subject: [PATCH] wait for change to be seen --- tests/role_deploy_domain_controller.pm | 1 + 1 file changed, 1 insertion(+) 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