-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: Bazel
-
DevProd Build
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Summary
plus_interface.py raises DuplicateSourceNames when +target_name is used.
Steps to Reproduce
$ bazel test --config=dbg +<target-name>
Expected Result
The +<target-name> expansion succeeds unless it matches projection_test.
Any commands unrelated projection_test should continue to work with the plus-expansion.
Actual Result
bazel.wrapper_hook.plus_interface.DuplicateSourceNames: Two test files with the same name:
//src/mongo/db/exec:db_exec_test->projection_test
//src/mongo/db/query/compiler/logical_model/projection:projection_ast_test->projection_test
Impact
All of my aliases and set up shortcuts which use +target fail.