From 6acd2f2ce39102a91d84d8579e4ef3aba35e5a87 Mon Sep 17 00:00:00 2001 From: Lamont Granquist Date: Fri, 30 Apr 2021 17:25:07 -0700 Subject: remove ruby-prof testing Signed-off-by: Lamont Granquist --- spec/integration/client/client_spec.rb | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/spec/integration/client/client_spec.rb b/spec/integration/client/client_spec.rb index 23cf8f0349..ecd8ec5bb5 100644 --- a/spec/integration/client/client_spec.rb +++ b/spec/integration/client/client_spec.rb @@ -349,26 +349,6 @@ describe "chef-client" do expect(result.stdout).to include("Run List is [recipe[x::default]]") result.error! end - - it "should complete with success when using --profile-ruby and output a profile file", :not_supported_on_aix do - file "config/client.rb", <<~EOM - local_mode true - cookbook_path "#{path_to("cookbooks")}" - EOM - result = shell_out!("#{chef_client} -c \"#{path_to("config/client.rb")}\" -o 'x::default' -z --profile-ruby", cwd: chef_dir) - result.error! - expect(File.exist?(path_to("config/local-mode-cache/cache/graph_profile.out"))).to be true - end - - it "doesn't produce a profile when --profile-ruby is not present" do - file "config/client.rb", <<~EOM - local_mode true - cookbook_path "#{path_to("cookbooks")}" - EOM - result = shell_out!("#{chef_client} -c \"#{path_to("config/client.rb")}\" -o 'x::default' -z", cwd: chef_dir) - result.error! - expect(File.exist?(path_to("config/local-mode-cache/cache/graph_profile.out"))).to be false - end end when_the_repository "has a cookbook that outputs some node attributes" do -- cgit v1.2.1