Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-76642

make pretty printer unittest run locally again

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.1.0-rc0
    • None
    • None
    • Fully Compatible
    • ALL

    Description

      This unittest was broken from running locally because it imports pretty printer modules from the project root src directory. This works in evergreen where PYTHONPATH is setup to add the src dir: https://github.com/mongodb/mongo/blob/af6adde067d69512c2a9167e83baf0fc7cf02501/evergreen/prelude_venv.sh#L26

       

      We will align with that for now and locally add the src dir to the path. This will break self testable installs (even further then it already is)

      Attachments

        Activity

          People

            daniel.moody@mongodb.com Daniel Moody
            daniel.moody@mongodb.com Daniel Moody
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: