Skip to content

Commit 1baba3b

Browse files
committed
skip tests failing on jruby
1 parent d1564dd commit 1baba3b

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

spec/mongo/address/ipv6_spec.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,9 @@
8989

9090
describe '#socket' do
9191

92+
# In JRuby 9.3.2.0 Socket::PF_INET6 is nil, causing IPv6 tests to fail.
93+
fails_on_jruby
94+
9295
let(:address) do
9396
'[::1]'
9497
end

spec/mongo/address_spec.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,9 @@
228228

229229
context 'when providing a DNS entry that resolves to both IPv6 and IPv4' do
230230

231+
# In JRuby 9.3.2.0 Socket::PF_INET6 is nil, causing IPv6 tests to fail.
232+
fails_on_jruby
233+
231234
let(:custom_hostname) do
232235
'not_localhost'
233236
end

0 commit comments

Comments
 (0)