Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-45397

fix error when building 'ninja +topology_state_machine_test' on windows

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • Service Arch
    • ALL
    • Service Arch 2020-01-13, Service Arch 2020-01-27, Service Arch 2020-02-10, Service Arch 2020-02-24, Service Arch 2020-03-09, Service Arch 2020-03-23, Service Arch 2020-04-06, Service arch 2020-04-20, Service arch 2020-05-04

    Description

      The windows debug build for topology_state_machine_test works fine (see here), but when running "ninja +topology_state_machine_test" we get the following:

      src\mongo\client\sdam\topology_state_machine_test.cpp(186): note: see reference to function template instantiation 'mongo::unittest::ComparisonAssertion<mongo::unittest::ComparisonOp::kEq> mongo::unittest::ComparisonAssertion<mongo::unittest::ComparisonOp::kEq>::make<std::vector<std::string,std::allocator<_Ty>>,std::vector<_Ty,std::allocator<_Ty>>,0>(const char *,unsigned int,mongo::StringData,mongo::StringData ,const A &,const B &)' being compiled with [ _Ty=std::string, A=std::vector<std::string,std::allocator<std::string>>, B=std::vector<std::string,std::allocator<std::string>> ] ASSERT_EQUALS(serversBefore, serversAfter); ninja: build stopped: subcommand failed.
      

      Attachments

        Activity

          People

            backlog-server-servicearch Backlog - Service Architecture
            lamont.nelson@mongodb.com Lamont Nelson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: