File tree 1 file changed +1
-4
lines changed
1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -61,12 +61,9 @@ sleep 8
61
61
# Install all example gateway-api resources.
62
62
kubectl apply --kubeconfig " ${KUBECONFIG} " --recursive -f examples/v1alpha1 || res=$?
63
63
64
- sleep 3
65
-
66
64
# Uninstall CRDs
67
65
kubectl delete --kubeconfig " ${KUBECONFIG} " -f config/crd/v1alpha1 || res=$?
68
66
69
-
70
67
# #### Test v1alpha2 CRD apply and that invalid examples are invalid.
71
68
# Install CRDs
72
69
kubectl apply --kubeconfig " ${KUBECONFIG} " -f config/crd/v1alpha2 || res=$?
@@ -83,7 +80,7 @@ kubectl apply --kubeconfig "${KUBECONFIG}" --recursive -f examples/v1alpha2 || r
83
80
# Firstly, apply the examples, remembering that errors are on stdout
84
81
kubectl apply --kubeconfig " ${KUBECONFIG} " --recursive -f hack/invalid-examples 2>&1 | \
85
82
# 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.
87
84
grep -v ' is invalid' | \
88
85
grep -v ' missing required field' | \
89
86
# Then, we grep for anything else.
You can’t perform that action at this time.
0 commit comments