Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-1231

testUTF8 test in the BSONTest fails locally

    • Type: Icon: Bug Bug
    • Resolution: Won't Fix
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: 2.12.1
    • Component/s: None
    • Labels:
      None
    • Environment:
      windows 8.1 x64 and ubuntu 14.04 x64

      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.

            Assignee:
            Unassigned Unassigned
            Reporter:
            saruye Arne Osthues
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: