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

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: