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: [email protected]
For additional commands, e-mail: [email protected]