Skip to content

Running e2e tests requires root permissions #930

@tjons

Description

@tjons

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:

Metadata

Metadata

Assignees

Labels

kind/bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions