diff --git a/hack/make/.integration-test-helpers b/hack/make/.integration-test-helpers index 380fea1506..4dd069c7df 100644 --- a/hack/make/.integration-test-helpers +++ b/hack/make/.integration-test-helpers @@ -188,6 +188,13 @@ test_env() { ( set -e [ -n "$TESTDEBUG" ] && set -x + + # Disable collecting local telemetry, as collected by Go and Delve; + # + # - https://github.com/go-delve/delve/blob/v1.24.1/CHANGELOG.md#1231-2024-09-23 + # - https://go.dev/doc/telemetry#background + HOME="$ABS_DEST/fake-HOME" go telemetry off + env -i \ DEST="$ABS_DEST" \ DOCKER_API_VERSION="$DOCKER_API_VERSION" \ diff --git a/hack/test/e2e-run.sh b/hack/test/e2e-run.sh index ec0a9c13c9..be90dded3d 100755 --- a/hack/test/e2e-run.sh +++ b/hack/test/e2e-run.sh @@ -40,6 +40,13 @@ test_env() { ( set -e +u [ -n "$TESTDEBUG" ] && set -x + + # Disable collecting local telemetry, as collected by Go and Delve; + # + # - https://github.com/go-delve/delve/blob/v1.24.1/CHANGELOG.md#1231-2024-09-23 + # - https://go.dev/doc/telemetry#background + HOME="$ABS_DEST/fake-HOME" go telemetry off + env -i \ DOCKER_API_VERSION="$DOCKER_API_VERSION" \ DOCKER_INTEGRATION_DAEMON_DEST="$DOCKER_INTEGRATION_DAEMON_DEST" \