bazel/wrapper_hook/plus_interface.py raises DuplicateSourceNames on unrelated query

XMLWordPrintableJSON

    • 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.

            Assignee:
            Andrew Bradshaw
            Reporter:
            Vesko Karaganev
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: