From cb1d04655fa08fdd63d43b273b025a6c6bfe8e2a Mon Sep 17 00:00:00 2001 From: Lukasz Szaszkiewicz Date: Wed, 13 Aug 2025 13:27:30 +0200 Subject: [PATCH] test-integration: set KUBE_PANIC_WATCH_DECODE_ERROR to false --- hack/make-rules/test-integration.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/hack/make-rules/test-integration.sh b/hack/make-rules/test-integration.sh index ae208fa3591..9a53245fe25 100755 --- a/hack/make-rules/test-integration.sh +++ b/hack/make-rules/test-integration.sh @@ -29,8 +29,9 @@ kube::util::require-jq KUBE_CACHE_MUTATION_DETECTOR="${KUBE_CACHE_MUTATION_DETECTOR:-true}" export KUBE_CACHE_MUTATION_DETECTOR -# panic the server on watch decode errors since they are considered coder mistakes -KUBE_PANIC_WATCH_DECODE_ERROR="${KUBE_PANIC_WATCH_DECODE_ERROR:-true}" +# default set to "false" to avoid panic on decode errors. +# integration tests intentionally insert data that cannot be decoded. +KUBE_PANIC_WATCH_DECODE_ERROR="${KUBE_PANIC_WATCH_DECODE_ERROR:-false}" export KUBE_PANIC_WATCH_DECODE_ERROR KUBE_INTEGRATION_TEST_MAX_CONCURRENCY=${KUBE_INTEGRATION_TEST_MAX_CONCURRENCY:-"-1"}