Skip to content

Commit

Permalink
Set test to pending due to JRuby bug
Browse files Browse the repository at this point in the history
JRuby 9.4.7.0, which the latest version of Puppet Server 8.x uses,
does not properly parse IP addresses that mix IPv6 and IPv4 syntax
(e.g. ::ffff:192.0.2.128). Because of this, we have filed a bug usptream
and have set a test that uses that style of address to pending.

See jruby/jruby#8248
  • Loading branch information
mhashizume committed May 21, 2024
1 parent 847b260 commit c9cda48
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spec/facter/util/resolvers/networking/networking_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
let(:address) { '::ffff:192.0.2.128' }

it 'returns scope6' do
pending('JRuby 9.4.7.0 does not properly parse mixed IPv6 addresses https://github.com/jruby/jruby/issues/8248') if RUBY_PLATFORM == 'java'
expect(networking_helper.get_scope(address)).to eql('global')
end
end
Expand Down

0 comments on commit c9cda48

Please sign in to comment.