kmesh icon indicating copy to clipboard operation
kmesh copied to clipboard

Running e2e tests requires root permissions

Open tjons opened this issue 1 year ago • 2 comments

What happened: When running make e2e, the e2e test script attempts to move the istioctl binary to the /usr/local/bin directory: https://github.com/kmesh-net/kmesh/blob/main/test/e2e/run_test.sh#L187. This causes the script to fail without permission to write to the /usr/local/bin directory.

What you expected to happen: The tests should install dependencies into a temporary directory within the project, and remove the dependencies upon successful completion of the tests.

How to reproduce it (as minimally and precisely as possible): make e2e without having write permissions to the /usr/local/bin directory.

Anything else we need to know?: N/A

Environment:

  • Kmesh version:
  • Others:

tjons avatar Oct 03 '24 13:10 tjons

cc @YaoZengzeng to have a look

hzxuzhonghu avatar Oct 08 '24 01:10 hzxuzhonghu

/assign

YaoZengzeng avatar Oct 21 '24 03:10 YaoZengzeng