You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@yunikorn.apache.org by "Craig Condit (Jira)" <ji...@apache.org> on 2022/12/22 17:42:00 UTC

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

     [ https://issues.apache.org/jira/browse/YUNIKORN-1420?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Craig Condit closed YUNIKORN-1420.
----------------------------------
    Resolution: Won't Fix

Closing as YUNIKORN-1500 removes support for periodic state dumps.

> 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.0.0, 1.1.0
>            Reporter: Wilfred Spiegelenburg
>            Priority: Major
>
> 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: issues-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: issues-help@yunikorn.apache.org