Merge pull request #110395 from tnqn/fix-sctp-test

Fix SCTP default-deny test
This commit is contained in:
Kubernetes Prow Robot 2022-06-07 08:45:07 -07:00 committed by GitHub
commit 198dd7668a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1780,7 +1780,7 @@ var _ = common.SIGDescribe("NetworkPolicy [Feature:SCTPConnectivity][LinuxOnly][
// Create a pod with name 'client-cannot-connect', which will attempt to communicate with the server,
// but should not be able to now that isolation is on.
testCannotConnect(f, f.Namespace, "client-cannot-connect", service, 80)
testCannotConnectProtocol(f, f.Namespace, "client-cannot-connect", service, 80, v1.ProtocolSCTP)
})
ginkgo.It("should enforce policy based on Ports [Feature:NetworkPolicy]", func() {