hs-test: fix tests using wget
This fixes an issue on systems with http proxy set.
Type: test
Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
Change-Id: Ic84fcd0b8a7698ef101b369d46be858cbe85fc73
diff --git a/extras/hs-test/utils.go b/extras/hs-test/utils.go
index f3b7ffa..1338498 100644
--- a/extras/hs-test/utils.go
+++ b/extras/hs-test/utils.go
@@ -183,7 +183,7 @@
finished <- errors.New("wget error")
}()
- cmd := NewCommand([]string{"wget", "--tries=5", "-q", "-O", "/dev/null", server_ip + ":" + port + "/" + query},
+ cmd := NewCommand([]string{"wget", "--no-proxy", "--tries=5", "-q", "-O", "/dev/null", server_ip + ":" + port + "/" + query},
netNs)
o, err := cmd.CombinedOutput()
if err != nil {