Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ecnconfig] Allow ecn unit test to run without sudo (sonic-net#1390)
Allow ecn unit tests to run without root privileges **- How I did it** Included the UTILITIES_UNIT_TESTING' env variable also as one of the conditions to determine if the command needs root privileges for execution **- How to verify it** Ran utilities test using the command "python3 setup.py test" and ecn_test.py passed. Prior to the fix, most of the testcases were failing with the error 'Root privileged required for this operation'
- Loading branch information