Skip to content

Commit fedcdda

Browse files
author
Nick Young
committed
Fix PR comments
Signed-off-by: Nick Young <ynick@vmware.com>
1 parent 2ee71ab commit fedcdda

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

hack/verify-examples-kind.sh

+1-4
Original file line numberDiff line numberDiff line change
@@ -61,12 +61,9 @@ sleep 8
6161
# Install all example gateway-api resources.
6262
kubectl apply --kubeconfig "${KUBECONFIG}" --recursive -f examples/v1alpha1 || res=$?
6363

64-
sleep 3
65-
6664
# Uninstall CRDs
6765
kubectl delete --kubeconfig "${KUBECONFIG}" -f config/crd/v1alpha1 || res=$?
6866

69-
7067
##### Test v1alpha2 CRD apply and that invalid examples are invalid.
7168
# Install CRDs
7269
kubectl apply --kubeconfig "${KUBECONFIG}" -f config/crd/v1alpha2 || res=$?
@@ -83,7 +80,7 @@ kubectl apply --kubeconfig "${KUBECONFIG}" --recursive -f examples/v1alpha2 || r
8380
# Firstly, apply the examples, remembering that errors are on stdout
8481
kubectl apply --kubeconfig "${KUBECONFIG}" --recursive -f hack/invalid-examples 2>&1 | \
8582
# First, we grep out the expected responses.
86-
# After this, if everything is as expoected, the output should be empty.
83+
# After this, if everything is as expected, the output should be empty.
8784
grep -v 'is invalid' | \
8885
grep -v 'missing required field' | \
8986
# Then, we grep for anything else.

0 commit comments

Comments
 (0)