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

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Java binding
    • None
    • Not Needed
    • None
    • None
    • None
    • None
    • None
    • None
    • 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 Lawley
              Reporter:
              Jeffrey Yemin
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: