Skip to content

Commit ef07123

Browse files
committed
Add delay to slurm config spec test
1 parent 3285ca8 commit ef07123

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cookbooks/aws-parallelcluster-slurm/test/controls/slurm_config_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
end
4747

4848
describe 'check cgroup memory resource controller is enabled' do
49-
subject { bash("grep memory /proc/cgroups | awk '{print $4}'") }
49+
subject { bash("sleep 5 && grep memory /proc/cgroups | awk '{print $4}'") }
5050
its('exit_status') { should eq 0 }
5151
its('stdout.strip') { should cmp 1 }
5252
end

0 commit comments

Comments
 (0)