Skip to content

Agent Mesh

e2e: fix PATH override in mesh_setup_suite to preserve setup-go toolchain

Antonio Ojea3156a36d2d80
diff --git a/tests/e2e/lib/container_mesh.bash b/tests/e2e/lib/container_mesh.bash
index 54e1e5cc..6af060a3 100644
--- a/tests/e2e/lib/container_mesh.bash
+++ b/tests/e2e/lib/container_mesh.bash
@@ -199,7 +199,7 @@ if [[ -z "${MESH_HELPERS_LOADED:-}" ]]; then
}
mesh_setup_suite() {
- export PATH="${HOME}/go/bin:/usr/local/bin:/usr/bin:$PATH"
+ export PATH="${HOME}/go/bin:$PATH"
mesh_cleanup_stale_resources
if ! command -v docker >/dev/null 2>&1 || ! docker info >/dev/null 2>&1; then
echo "docker not available or daemon not running" >&2