Uploaded image for project: 'Apache YuniKorn'
  1. Apache YuniKorn
  2. YUNIKORN-1420

TestPartitionStateDumpFilePathParameterFail assume non root user

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 1.0.0, 1.1.0
    • None
    • test - unit
    • None

    Description

      In the core code we have a unit test called TestPartitionStateDumpFilePathParameterFail which assumes that the create of a file in the root of the filesystem will fail.

      If the test suite is run as root or a user with a lot of access this will not fail and the file will be created.

      Running tests as root or a highly privileged account is probably not the right thing to do but we should not expect a low level user for our tests.

      Attachments

        Activity

          People

            Unassigned Unassigned
            wilfreds Wilfred Spiegelenburg
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: