Skip to content

Commit 3ac97d5

Browse files
Emily Giurleop
authored andcommitted
Fix shared protocol specs on jruby (#2120)
1 parent 1160255 commit 3ac97d5

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

spec/integration/bson_symbol_spec.rb

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,10 @@
2525
end
2626

2727
it 'round-trips symbol values using the same byte buffer' do
28-
if BSON::Environment.jruby?
29-
pending 'https://jira.mongodb.org/browse/RUBY-2128'
28+
if BSON::Environment.jruby? && BSON::VERSION < "4.11.0"
29+
skip 'This test is only relevant to bson versions that increment ByteBuffer '\
30+
'read and write positions separately in JRuby, as implemented in ' \
31+
'bson version 4.11.0. For more information, see https://jira.mongodb.org/browse/RUBY-2128'
3032
end
3133

3234
Hash.from_bson(hash.to_bson).should == hash

0 commit comments

Comments
 (0)