From 8973c1d7d7554c60150513dbeff141973e87840a Mon Sep 17 00:00:00 2001 From: David Swan Date: Fri, 22 Oct 2021 11:22:44 +0100 Subject: [PATCH] (IAC-1771) Update acceptance test setup --- spec/spec_helper_acceptance_local.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/spec/spec_helper_acceptance_local.rb b/spec/spec_helper_acceptance_local.rb index 9d8419a..037defc 100644 --- a/spec/spec_helper_acceptance_local.rb +++ b/spec/spec_helper_acceptance_local.rb @@ -59,6 +59,10 @@ RSpec.configure do |c| # To enable tests on abs/vmpooler machines just set to `true` this flag c.filter_run_excluding condition_parameter_test: false c.before :suite do + # Depmod is not availible by default on our AlmaLinux 8 docker image + if ['almalinux-8'].include?("#{fetch_os_name}-#{os[:release].to_i}") + LitmusHelper.instance.run_shell('yum install kmod -y') + end if ['centos-6', 'centos-7', 'oraclelinux-6', 'scientific-6', 'scientific-7'].include?("#{fetch_os_name}-#{os[:release].to_i}") LitmusHelper.instance.run_shell('yum update -y') LitmusHelper.instance.run_shell('depmod -a') -- 2.45.2