[SERVER-45397] fix error when building 'ninja +topology_state_machine_test' on windows Created: 07/Jan/20  Updated: 06/Dec/22

Status: Backlog
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Lamont Nelson Assignee: Backlog - Service Architecture
Resolution: Unresolved Votes: 0
Labels: sa-remove-fv-backlog-22
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Service Arch
Operating System: ALL
Sprint: 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
Participants:

 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.



 Comments   
Comment by Lamont Nelson [ 22/Apr/20 ]

moving this to the backlog for wfbf day

Comment by Kaloian Manassiev [ 07/Jan/20 ]

mark.benvenuto@mongodb.com thinks that this might be due to something with the precompiled header (PCH), which ninja uses.

Generated at Thu Feb 08 05:08:40 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.