Files
kubernetes/test/e2e/framework/networking_utils.go
Claudiu Belu 72be895238 tests: Makes UDP testing command more Windows friendly
By default, cmd is used to execute commands in Windows containers, but it
has some issues executing the command (no output):

echo 'hostName' | nc -w 1 -u <targetIP> <targetPort>

But it has no issues running (output is correct):

echo hostName | nc -w 1 -u <targetIP> <targetPort>

This causes the test "should function for node-pod communication: udp" to
fail when using Windows Containers.
2019-01-11 03:53:28 -08:00

35 KiB