You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@yunikorn.apache.org by "Wilfred Spiegelenburg (Jira)" <ji...@apache.org> on 2022/11/21 08:20:00 UTC

[jira] [Created] (YUNIKORN-1420) TestPartitionStateDumpFilePathParameterFail assume non root user

Wilfred Spiegelenburg created YUNIKORN-1420:
-----------------------------------------------

             Summary: TestPartitionStateDumpFilePathParameterFail assume non root user
                 Key: YUNIKORN-1420
                 URL: https://issues.apache.org/jira/browse/YUNIKORN-1420
             Project: Apache YuniKorn
          Issue Type: Bug
          Components: test - unit
    Affects Versions: 1.1.0, 1.0.0
            Reporter: Wilfred Spiegelenburg


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.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: dev-help@yunikorn.apache.org