summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeha Pansare <neha.pansare@progress.com>2022-02-23 13:03:38 +0530
committerNeha Pansare <neha.pansare@progress.com>2022-02-23 13:04:38 +0530
commitf78084ecc7df918ed36b7d4b8ad6f71b6c9754f5 (patch)
tree551b012ea46d0cde626b3fcc581ddd4bd09a20e5
parent57bd54c815172bf668b7cf2fd40c30ae5af9d9de (diff)
downloadchef-f78084ecc7df918ed36b7d4b8ad6f71b6c9754f5.tar.gz
Update solo_spec test case checking node directory and file permissions to not to use --legacy-mode
Signed-off-by: Neha Pansare <neha.pansare@progress.com>
-rw-r--r--spec/integration/solo/solo_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/integration/solo/solo_spec.rb b/spec/integration/solo/solo_spec.rb
index 1aa471d691..050578547e 100644
--- a/spec/integration/solo/solo_spec.rb
+++ b/spec/integration/solo/solo_spec.rb
@@ -28,7 +28,7 @@ describe ChefUtils::Dist::Solo::EXEC do
file "config/solo.rb", <<~EOM
chef_repo_path "#{@repository_dir}"
EOM
- result = shell_out("#{chef_solo} -c \"#{path_to("config/solo.rb")}\" -l debug", cwd: chef_dir)
+ result = shell_out("bundle exec #{ChefUtils::Dist::Solo::EXEC} --minimal-ohai --always-dump-stacktrace -c \"#{path_to("config/solo.rb")}\" -l debug", cwd: chef_dir)
result.error!
end