From 6d2f9fcdf4296860588a6c44e7cdce29f6e29e6f Mon Sep 17 00:00:00 2001 From: Jeremiah Snapp Date: Fri, 3 Sep 2021 09:41:29 -0400 Subject: test Signed-off-by: Jeremiah Snapp --- spec/functional/resource/group_spec.rb | 3 ++- spec/functional/resource/link_spec.rb | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/spec/functional/resource/group_spec.rb b/spec/functional/resource/group_spec.rb index 279f8ac8d4..73af5fc59f 100644 --- a/spec/functional/resource/group_spec.rb +++ b/spec/functional/resource/group_spec.rb @@ -44,6 +44,7 @@ describe Chef::Resource::Group, :requires_root_or_running_windows do members.shift # Get rid of GroupMembership: string members.include?(user) else + sleep 2 if aix? && (ohai[:platform_version] == "7.2") Etc.getgrnam(group_name).mem.include?(user) end end @@ -181,7 +182,7 @@ describe Chef::Resource::Group, :requires_root_or_running_windows do describe "when the users exist" do before do - high_uid = 30000 + high_uid = 40000 (spec_members).each do |member| remove_user(member) create_user(member, high_uid) diff --git a/spec/functional/resource/link_spec.rb b/spec/functional/resource/link_spec.rb index 734897aaa4..55e634c0e4 100644 --- a/spec/functional/resource/link_spec.rb +++ b/spec/functional/resource/link_spec.rb @@ -345,9 +345,11 @@ describe Chef::Resource::Link do let(:test_user) { "test-link-user" } before do user(test_user).run_action(:create) + sleep 2 if aix? && (ohai[:platform_version] == "7.2") end after do user(test_user).run_action(:remove) + sleep 2 if aix? && (ohai[:platform_version] == "7.2") end before(:each) do resource.owner(test_user) -- cgit v1.2.1