[SERVER-62544] Unable to build unittests: error: 'log' is not a member of 'mongo::unittest' Created: 11/Jan/22  Updated: 02/Jun/22  Resolved: 17/Jan/22

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

Type: Bug Priority: Major - P3
Reporter: Adam Adam Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: tests
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-62543 Unable to build unittests: error: 'lo... Closed
is duplicated by SERVER-62543 Unable to build unittests: error: 'lo... Closed
Operating System: ALL
Participants:

 Description   

Hello,

 

I use to build my own packages but 4.2.17 cannot be built:

src/mongo/client/mongo_uri_test.cpp: In member function 'virtual void mongo::{anonymous}::UnitTest_SuiteNameMongoURITestNamesrvRecordTest::_doTest()':
src/mongo/client/mongo_uri_test.cpp:1005:19: error: 'log' is not a member of 'mongo::unittest'
 1005 |  mongo::unittest::log() << "Testing URI: " << test.uri << '\n';
      |                   ^~~

It really looks like a bug to me.

 

Regards, Adam.



 Comments   
Comment by Adam Adam [ 11/Jan/22 ]

Sorry, I messed up, this is a duplicate of #SERVER-62543

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