Do not require session support to run CRUD tests

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 1.17.0-beta2, 1.17.0
    • Affects Version/s: None
    • Component/s: Testing
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Crud tests are skipped if libmongoc is not built with sessions support:
      https://github.com/mongodb/mongo-c-driver/blob/1.16.0/src/libmongoc/tests/test-mongoc-crud.c/#L40-L43

         install_json_test_suite_with_check (suite,
                                             resolved,
                                             &test_crud_cb,
                                             test_framework_skip_if_no_sessions);
      

      But I do not believe this should require driver sessions support. However, changing this to:

         install_json_test_suite_with_check (suite,
                                             resolved,
                                             &test_crud_cb,
                                             TestSuite_CheckLive);
      

      Does result in some test failures:
      https://evergreen.mongodb.com/version/5e418a2232f4174d3be1b9c3

      Which I cannot reproduce locally on my macOS machine.

              Assignee:
              Roberto Sanchez
              Reporter:
              Kevin Albertson
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: