Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-21713

Python tests started under uid=0 and uid > 0 works differently

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • trunk
    • trunk
    • None
    • None

    Description

      The cause is sudo.py and same meaning modules, which implements different logic depends on user uid. Coz of that us tests covering only uid > 0 logic and starting them from root (on VM or docker) causing them to fail

      Attachments

        1. AMBARI-21713-UT.patch
          2 kB
          Dmytro Grinenko

        Issue Links

          Activity

            People

              hapylestat Dmytro Grinenko
              hapylestat Dmytro Grinenko
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: