[JAVA-1231] testUTF8 test in the BSONTest fails locally Created: 13/May/14  Updated: 04/Aug/16  Resolved: 04/Aug/16

Status: Closed
Project: Java Driver
Component/s: None
Affects Version/s: 2.12.1
Fix Version/s: None

Type: Bug Priority: Minor - P4
Reporter: Arne Osthues Assignee: Unassigned
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

windows 8.1 x64 and ubuntu 14.04 x64



 Description   

I was trying to build the java-driver myself. So I pulled it from github and switched to the r2.12.1 tag.
When I try to build it, the testUTF8 test in the BSONTest-class fails. This happened on a windows machine, so I thought there might be a problem with some weird windows specific encoding. So I tried the same on a current ubuntu machine. Same result. I looked at the test. And it is looking through all possible code points. When I altered it to just print the numbers it is failing for and not stop at the first, it fails 2047 times, starting with 55297 till 57343.



 Comments   
Comment by Jeffrey Yemin [ 04/Aug/16 ]

I also suspect this issue was addressed in this commit.

Comment by Jeffrey Yemin [ 04/Aug/16 ]

This test has been removed from the 3.x driver, so I don't think this is worth addressing any longer.

Generated at Thu Feb 08 08:54:06 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.