[SERVER-23440] Two unittests have the same name causing unittest target to fail Created: 31/Mar/16  Updated: 30/Oct/17  Resolved: 27/Apr/16

Status: Closed
Project: Core Server
Component/s: Build
Affects Version/s: None
Fix Version/s: 3.2.18, 3.3.4

Type: Bug Priority: Minor - P4
Reporter: Geert Bosch Assignee: Geert Bosch
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Duplicate
is duplicated by SERVER-31703 Rename one of the two metadata_test u... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v3.2
Steps To Reproduce:

scons build/unittests

Participants:

 Description   

Trying to build the build/unittests target leads to the following error

result = self.execfunction(target=target, source=rsources, env=env)
File "/usr/lib/scons/SCons/Tool/install.py", line 215, in installFunc
"Installing source %s into target %s: target and source lists must have same length."%(list(map(str, source)), list(map(str, target)))
AssertionError: Installing source ['build/opt/mongo/db/s/metadata_test', 'build/opt/mongo/rpc/metadata_test'] into target ['build/unittests/metadata_test']: target and source lists must have same length.
scons: building terminated because of errors.



 Comments   
Comment by Githook User [ 30/Oct/17 ]

Author:

{'email': 'geert@mongodb.com', 'name': 'Geert Bosch', 'username': 'GeertBosch'}

Message: SERVER-23440 Rename duplicate metadata_test tests

(cherry picked from commit a163a5bc065592507cf8270401dd467bc76d4369)
Branch: v3.2
https://github.com/mongodb/mongo/commit/c8707ca4710944b2c2a18d19928c4ae16c74e214

Comment by Githook User [ 04/Apr/16 ]

Author:

{u'username': u'GeertBosch', u'name': u'Geert Bosch', u'email': u'geert@mongodb.com'}

Message: SERVER-23440 Rename duplicate metadata_test tests
Branch: master
https://github.com/mongodb/mongo/commit/a163a5bc065592507cf8270401dd467bc76d4369

Generated at Thu Feb 08 04:03:23 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.