Skip to content

Commit 332f10b

Browse files
committed
(maint) Modify test for Fedora 36
Fedora 36 is susceptible to a bug in NetworkManager that causes it to fail a network acceptance test. This commit adds a conditional to deal with that bug. See also: https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/issues/426
1 parent 2844695 commit 332f10b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

acceptance/tests/facts/networking_facts.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
agents.each do |agent|
1313
expected_networking = {
14-
%w[networking dhcp] => agent['platform'] =~ /fedora-32|fedora-34|el-8-|el-9-/ ? '' : @ip_regex, # https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/issues/426
14+
%w[networking dhcp] => agent['platform'] =~ /fedora-32|fedora-34|fedora-36|el-8-|el-9-/ ? '' : @ip_regex, # https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/issues/426
1515
%w[networking ip] => @ip_regex,
1616
%w[networking ip6] => /[a-f0-9]+:+/,
1717
%w[networking mac] => /[a-f0-9]{2}:/,

0 commit comments

Comments
 (0)