Skip to content

Commit d5b0a3b

Browse files
committed
Remove dead code.
Signed-off-by: Josh Baird <jbaird@galileo.io>
1 parent 9b2fa94 commit d5b0a3b

1 file changed

Lines changed: 0 additions & 14 deletions

File tree

tests/scripts/helm_v4_upgrade_e2e.sh

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -37,20 +37,6 @@ assert_crds_present() {
3737
fail "CRDs matching '$pattern' not found after $((retries * 5))s"
3838
}
3939

40-
assert_crds_absent() {
41-
local pattern="$1"
42-
local retries=20
43-
for ((i=0; i<retries; i++)); do
44-
if ! kubectl get crds --context "kind-${KIND_CLUSTER}" 2>&1 | grep -q "$pattern"; then
45-
pass "CRDs matching '$pattern' are absent (as expected)"
46-
return
47-
fi
48-
sleep 5
49-
done
50-
echo " DEBUG: kubectl get crds output:"
51-
kubectl get crds --context "kind-${KIND_CLUSTER}" 2>&1 | grep "$pattern" || true
52-
fail "CRDs matching '$pattern' still present after $((retries * 5))s"
53-
}
5440

5541
wait_operator() {
5642
kubectl -n "$LOGGING_NAMESPACE" wait --for=condition=available \

0 commit comments

Comments
 (0)