summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn McCrae <john.mccrae@progress.com>2022-06-01 10:08:20 -0700
committerJohn McCrae <john.mccrae@progress.com>2022-06-01 10:08:20 -0700
commit9a1efee4652c3e27a71285d7cdf6b185342041b6 (patch)
tree7f32a61f2b0ee5e8a29bebc904b3891e5124f065
parentb2f39b608600abe59c97fb992cb450a390abb13b (diff)
downloadchef-jfm/freebsd13_grp_errors.tar.gz
adding a sleep to ensure groups are created properly during testing on Freebsdjfm/freebsd13_grp_errors
Signed-off-by: John McCrae <john.mccrae@progress.com>
-rw-r--r--spec/functional/resource/group_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/functional/resource/group_spec.rb b/spec/functional/resource/group_spec.rb
index 8b6f09bbe9..71c8869ca0 100644
--- a/spec/functional/resource/group_spec.rb
+++ b/spec/functional/resource/group_spec.rb
@@ -48,7 +48,7 @@ describe Chef::Resource::Group, :requires_root_or_running_windows do
# Adding a 2 second delay for this platform is enough to get correct results.
# We hope to remove this delay after we get more permanent AIX 7.2 systems in our CI pipeline. reference: https://github.com/chef/release-engineering/issues/1617
sleep 2 if aix? && (ohai[:platform_version] == "7.2")
- # freebsd 13 is throwing similar "what group?" errors. Adding a delay here for the same purpose
+ # freebsd 13 is throwing similar "what group?" errors. Adding a delay here for the same purpose
sleep 2 if freebsd?
Etc.getgrnam(group_name).mem.include?(user)
end