Uploaded image for project: 'Libmongocrypt'
  1. Libmongocrypt
  2. MONGOCRYPT-147

Java bindings should be tested against the .so that we actually include in the jar file

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Java binding
    • Labels:
      None

      Currently we run the Java bindings unit tests against the .so that was built for the specific platform under test. But our customers will be using a mongodb-crypt.jar containing a single libmongocrypt.so per os/architecture.

      We should be running the tests against the specific .so that will be included in mongodb-crypt.jar, regardless of the platform we're running the tests on.

      That will mean that the java build variant has to depend on the libmongocrypt build variant for whatever platform we're using for the given architecture. e.g. the rhel7 java build will depend on the ubuntu 1604 build variant for libmongocrypt.

            Assignee:
            ross@mongodb.com Ross Lawley
            Reporter:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: