Skip to content

Conversation

@egiurleo
Copy link
Contributor

@egiurleo egiurleo commented Nov 3, 2020

A couple tests were broken/fixed as a result of the bson jruby 4.11.0 release.

@egiurleo egiurleo requested a review from p-mongo November 3, 2020 19:49
let(:field) { bytes.to_s[0..3] }
it 'serializes the length' do
expect(field).to be_int32(bytes.length)
bytes.rewind!
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If this is only needed for JRuby can it be conditioned on BSON::Environment.jruby? ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure thing!

@egiurleo egiurleo requested a review from p-mongo November 3, 2020 20:03
@egiurleo egiurleo changed the title Fix shared protocol specs on jruby Remove pending status from BSON Symbol test Nov 4, 2020
@egiurleo egiurleo merged commit 19c1f0a into mongodb:master Nov 4, 2020
p-mongo pushed a commit that referenced this pull request Nov 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants