From c4e38c2dcede72b834aaf180323ec2091a0f3118 Mon Sep 17 00:00:00 2001 From: david22swan Date: Thu, 10 Mar 2022 10:50:21 +0000 Subject: [PATCH] (GH-1031) Fix for CentOS 8 --- spec/spec_helper_acceptance_local.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/spec_helper_acceptance_local.rb b/spec/spec_helper_acceptance_local.rb index 72864cd..3f8295a 100644 --- a/spec/spec_helper_acceptance_local.rb +++ b/spec/spec_helper_acceptance_local.rb @@ -60,8 +60,8 @@ 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}") + # Depmod is not availible by default on our AlmaLinux/CentOS 8 docker image + if ['almalinux-8', 'centos-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}") -- 2.45.2