Skip to content

Commit

Permalink
[Test] Fix kitchen test related to enroot
Browse files Browse the repository at this point in the history
Signed-off-by: Giacomo Marciani <mgiacomo@amazon.com>
  • Loading branch information
gmarciani committed Oct 17, 2024
1 parent 4f18801 commit ff6dc03
Showing 1 changed file with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,10 @@

control 'tag:config_enroot_enabled_on_graphic_instances' do
only_if { !os_properties.on_docker? && ['yes', true].include?(node['cluster']['nvidia']['enabled']) }

describe file("/var/enroot/cache-group-1000") do
it { should exist }
its('group') { should eq 'root' }
end unless os_properties.redhat_on_docker?
describe 'enroot service should be enabled' do
subject { command("enroot version") }
its('exit_status') { should cmp == 0 }
end
end

control 'tag:config_enroot_disabled_on_non_graphic_instances' do
Expand Down

0 comments on commit ff6dc03

Please sign in to comment.