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

Run full test suite on Windows 2017+

    • Type: Icon: Task Task
    • Resolution: Gone away
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None

      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.

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

              Created:
              Updated:
              Resolved: