Skip to content

Commit 3997c92

Browse files
Fix kitchen tests after change to install enroot when nvidia is installed
Signed-off-by: Hanwen <[email protected]>
1 parent 85dc8a6 commit 3997c92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
end
4040

4141
control 'tag:config_enroot_disabled_on_non_graphic_instances' do
42-
only_if { !os_properties.on_docker? && !['yes', true, 'true'].include?(node['cluster']['nvidia']['enabled']) }
42+
only_if { !os_properties.on_docker? && !['yes', true, 'true'].include?(node['cluster']['nvidia']['enabled']) && !instance.nvidia_installed? }
4343

4444
describe 'enroot service should be disabled' do
4545
subject { command("enroot version") }

0 commit comments

Comments
 (0)