We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9b2fa94 commit d5b0a3bCopy full SHA for d5b0a3b
1 file changed
tests/scripts/helm_v4_upgrade_e2e.sh
@@ -37,20 +37,6 @@ assert_crds_present() {
37
fail "CRDs matching '$pattern' not found after $((retries * 5))s"
38
}
39
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
-}
54
55
wait_operator() {
56
kubectl -n "$LOGGING_NAMESPACE" wait --for=condition=available \
0 commit comments