Skip to content

Commit 231db27

Browse files
NSsirenajdeamicis
authored andcommitted
Avoid checking root_volume free space on docker
Signed-off-by: Nicola Sirena <[email protected]>
1 parent 552ba51 commit 231db27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cookbooks/aws-parallelcluster-platform/test/controls/intel_hpc_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
end
2525

2626
control 'tag:config_intel_hpc_enough_space_on_root_volume' do
27-
only_if { !instance.custom_ami? && (os_properties.centos7? && os_properties.x86?) }
27+
only_if { !os_properties.on_docker? && !instance.custom_ami? }
2828

2929
describe 'at least 10 GB of free space on root volume' do
3030
subject { bash("sudo -u #{node['cluster']['cluster_user']} df --block-size GB --output=avail / | tail -n1 | cut -d G -f1") }

0 commit comments

Comments
 (0)