Merge pull request #107525 from hxietkg/hxietkg/support-udp-for-windows

Support UDP test for netwpol on windows
This commit is contained in:
Kubernetes Prow Robot 2022-01-25 19:20:38 -08:00 committed by GitHub
commit dee90598d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -42,7 +42,7 @@ type Model struct {
// NewWindowsModel returns a model specific to windows testing.
func NewWindowsModel(namespaces []string, podNames []string, ports []int32, dnsDomain string) *Model {
return NewModel(namespaces, podNames, ports, []v1.Protocol{v1.ProtocolTCP}, dnsDomain)
return NewModel(namespaces, podNames, ports, []v1.Protocol{v1.ProtocolTCP, v1.ProtocolUDP}, dnsDomain)
}
// NewModel instantiates a model based on: