Skip to content

Commit 0290a4f

Browse files
committed
disable incompatible test
1 parent 54ad298 commit 0290a4f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/ingress.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,12 +106,18 @@ jobs:
106106
# Test binaries
107107
git clone --depth 1 https://github.com/kubernetes-sigs/ingress-controller-conformance.git ${TMP_DIR}/ingress-controller-conformance
108108
cd ${TMP_DIR}/ingress-controller-conformance
109+
# Add the @skip tag to the incompatible test
110+
# The Gateway spec for spec.hostnames: ["*.foo.com"] states it matches all subdomains.
111+
# The Ingress spec for spec.rules.host: "*.foo.com" states it only matches a single subdomain level.
112+
echo "Skipping incompatible test: 'An Ingress with a wildcard host rule should not route traffic matching on more than a single dns label'"
113+
sed -i '/Scenario: An Ingress with a wildcard host rule should not route traffic matching on more than a single dns label/i @skip' features/host_rules.feature
109114
make build
110115
chmod +x ingress-controller-conformance
111116
./ingress-controller-conformance \
112117
--ingress-class=cloud-provider-kind \
113118
--no-colors \
114119
--output-directory="${PWD}/_artifacts" \
120+
--tags="~@skip" \
115121
--wait-time-for-ingress-status=30s
116122
117123
- name: Export logs

0 commit comments

Comments
 (0)