Uploaded image for project: 'C++ Driver'
  1. C++ Driver
  2. CXX-2054

Run full test suite on Windows 2017+

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Gone away
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      The "Windows (VS 2017) Debug (MongoDB Latest)" variant only runs the tasks:

      • compile_with_shared_libs
      • compile_and_test_auth_with_shared_libs

      The auth tests only test connecting to a server with auth. This does not run any of the test runners. When attempting to add compile_and_test_with_shared_libs, I observed errors coming from the mock class. Example failure with logs:

       [2020/06/17 16:32:42.771]   -------------------------------------------------------------------------------
       [2020/06/17 16:32:42.771]   Collection
       [2020/06/17 16:32:42.771]     Writes
       [2020/06/17 16:32:42.771]     Insert One Error
       [2020/06/17 16:32:42.771]   -------------------------------------------------------------------------------
       [2020/06/17 16:32:42.771]   c:\data\mci\4492ed48d554efd5b54f2725316acd16\mongo-cxx-driver\src\mongocxx\test\collection_mocked.cpp(638)
       [2020/06/17 16:32:42.771]   ...............................................................................
       [2020/06/17 16:32:42.771]   c:\data\mci\4492ed48d554efd5b54f2725316acd16\mongo-cxx-driver\src\mongocxx\test\collection_mocked.cpp(481): FAILED:
       [2020/06/17 16:32:42.771]     REQUIRE( bulk_operation_destroy_called )
       [2020/06/17 16:32:42.771]   with expansion:
       [2020/06/17 16:32:42.771]     false
       [2020/06/17 16:32:42.771]   Assertion failed: !current, file c:\data\mci\4492ed48d554efd5b54f2725316acd16\mongo-cxx-driver\src\mongocxx\test_util\mock.hh, line 172
      

      Though the Windows (VS 2015) variants do run the test tasks without issue.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              kevin.albertson Kevin Albertson
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: