From e553ce3e06b5752c853bf5df1fbf469b0c9c909d Mon Sep 17 00:00:00 2001 From: Giacomo Marciani Date: Thu, 17 Oct 2024 10:36:17 +0200 Subject: [PATCH] [Test] Fix kitchen test: `install_pyxis_installed` Signed-off-by: Giacomo Marciani --- .../test/controls/pyxis_spec.rb | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/cookbooks/aws-parallelcluster-slurm/test/controls/pyxis_spec.rb b/cookbooks/aws-parallelcluster-slurm/test/controls/pyxis_spec.rb index dbac5fd31..d63f77de5 100644 --- a/cookbooks/aws-parallelcluster-slurm/test/controls/pyxis_spec.rb +++ b/cookbooks/aws-parallelcluster-slurm/test/controls/pyxis_spec.rb @@ -14,14 +14,7 @@ title 'Checks Pyxis has been installed' - describe directory('/opt/slurm/etc') do - it { should exist } - its('mode') { should cmp '0755' } - its('owner') { should eq 'root' } - its('group') { should eq 'root' } - end - - examples_dir = "/opt/parallelcluster/configs/examples" + examples_dir = "/opt/parallelcluster/examples" dirs = [ examples_dir, "#{examples_dir}/spank", "#{examples_dir}/pyxis" ] dirs.each do |path| describe directory(path) do