Skip to content

Commit 8973c1d

Browse files
committed
(IAC-1771) Update acceptance test setup
1 parent 742cf68 commit 8973c1d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

spec/spec_helper_acceptance_local.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,10 @@ def fetch_os_name
5959
# To enable tests on abs/vmpooler machines just set to `true` this flag
6060
c.filter_run_excluding condition_parameter_test: false
6161
c.before :suite do
62+
# Depmod is not availible by default on our AlmaLinux 8 docker image
63+
if ['almalinux-8'].include?("#{fetch_os_name}-#{os[:release].to_i}")
64+
LitmusHelper.instance.run_shell('yum install kmod -y')
65+
end
6266
if ['centos-6', 'centos-7', 'oraclelinux-6', 'scientific-6', 'scientific-7'].include?("#{fetch_os_name}-#{os[:release].to_i}")
6367
LitmusHelper.instance.run_shell('yum update -y')
6468
LitmusHelper.instance.run_shell('depmod -a')

0 commit comments

Comments
 (0)