From d907da25b2c8323bcb9a2a4dc7d09c0a06792667 Mon Sep 17 00:00:00 2001 From: Abhishek Shah Date: Tue, 2 Feb 2016 22:03:14 -0800 Subject: [PATCH] Updated kubeproxy test to test hitting 127.0.0.1:nodeport from node itself --- test/e2e/kubeproxy.go | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/test/e2e/kubeproxy.go b/test/e2e/kubeproxy.go index 9407715b0d7..3d22f3ba6aa 100644 --- a/test/e2e/kubeproxy.go +++ b/test/e2e/kubeproxy.go @@ -185,12 +185,10 @@ func (config *KubeProxyTestConfig) hitNodePort(epCount int) { By("dialing(http) endpoint container --> node1:nodeHttpPort") config.dialFromEndpointContainer("http", node1_IP, nodeHttpPort, tries, epCount) - // TODO: doesn't work because masquerading is not done - By("TODO: Test disabled. dialing(udp) node --> 127.0.0.1:nodeUdpPort") - //config.dialFromNode("udp", "127.0.0.1", nodeUdpPort, tries, epCount) - // TODO: doesn't work because masquerading is not done - By("Test disabled. dialing(http) node --> 127.0.0.1:nodeHttpPort") - //config.dialFromNode("http", "127.0.0.1", nodeHttpPort, tries, epCount) + By("dialing(udp) node --> 127.0.0.1:nodeUdpPort") + config.dialFromNode("udp", "127.0.0.1", nodeUdpPort, tries, epCount) + By("dialing(http) node --> 127.0.0.1:nodeHttpPort") + config.dialFromNode("http", "127.0.0.1", nodeHttpPort, tries, epCount) node2_IP := config.externalAddrs[1] By("dialing(udp) node1 --> node2:nodeUdpPort")