Skip to content

Commit

Permalink
(maint) Modify test for Fedora 36
Browse files Browse the repository at this point in the history
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
  • Loading branch information
mhashizume committed Aug 23, 2022
1 parent 2844695 commit 332f10b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion acceptance/tests/facts/networking_facts.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

agents.each do |agent|
expected_networking = {
%w[networking dhcp] => agent['platform'] =~ /fedora-32|fedora-34|el-8-|el-9-/ ? '' : @ip_regex, # https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/issues/426
%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
%w[networking ip] => @ip_regex,
%w[networking ip6] => /[a-f0-9]+:+/,
%w[networking mac] => /[a-f0-9]{2}:/,
Expand Down

0 comments on commit 332f10b

Please sign in to comment.