Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-3475

TestContainerizer should not modify global environment variables.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.7.0
    • None
    • Mesosphere Sprint 2018-21, Mesosphere Sprint 2018-22
    • 8

    Description

      Currently the TestContainerizer modifies the environment variables. Since these are global variables, this can cause other threads reading these variables to get inconsistent results, or even segfault if they happen to read while the environment is being changed.
      Synchronizing within the TestContainerizer is not sufficient. We should pass the environment variables into a fork, or set them on the command line of an execute.

      Attachments

        Issue Links

          Activity

            People

              abudnik Andrei Budnik
              jvanremoortere Joris Van Remoortere
              Alex R Alex R
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: