Unverified Commit 44359d00 authored by Marc A. Paradise's avatar Marc A. Paradise
Browse files

Disable Dnf tests for fedora



This is temporary until we can track down why they're running
long enough to consistently timeout.

See also chef/11414
Signed-off-by: default avatarMarc A. Paradise <marc.paradise@gmail.com>
parent b6820f34
...@@ -19,7 +19,10 @@ require "spec_helper" ...@@ -19,7 +19,10 @@ require "spec_helper"
require "chef/mixin/shell_out" require "chef/mixin/shell_out"
# run this test only for following platforms. # run this test only for following platforms.
exclude_test = !(%w{rhel fedora amazon}.include?(ohai[:platform_family]) && File.exist?("/usr/bin/dnf")) # TODO: 2021-04-23 we removed 'fedora' from this list because our fedora functional tests
# are consistently timing out in BuildKite. Once we've addressed this (see issue chef/11414)
# we will re-add the platform.
exclude_test = !(%w{rhel amazon}.include?(ohai[:platform_family]) && File.exist?("/usr/bin/dnf"))
describe Chef::Resource::DnfPackage, :requires_root, external: exclude_test do describe Chef::Resource::DnfPackage, :requires_root, external: exclude_test do
include Chef::Mixin::ShellOut include Chef::Mixin::ShellOut
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment