Run unit tests with BSON-EXT installed

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Unknown
    • 4.9.0
    • Affects Version/s: None
    • Component/s: None
    • Not Needed
    • None
    • None
    • None
    • None
    • None
    • None

      Use Case

      As a node driver engineer
      I want our BSON-EXT test to run the unit tests
      So that we can increase coverage, specifically for the utf8 validation option.

      User Impact

      • BSON-EXT always throws on invalid UTF8 it would be good to demonstrate that behavior remains

      Dependencies

      • EVG script: .evergreen/run-bson-ext-test.sh

      Unknowns

      • None

      Acceptance Criteria

      • ensure unit tests run within that evergreen task
        • Look into either splitting out a separate task or make the unit tests run as a a part of the integration run so that they're included in the xunit.xml output
      • Fix the commands.test.js tests
        • utf8Validation: false should skip when using bson-ext
        • utf8Validation: true should change the assertions on the errors thrown to include the bson-ext format of the error.
      • update the version the evg script installs (2.0+)

              Assignee:
              Neal Beeken
              Reporter:
              Neal Beeken
              Durran Jordan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: