summaryrefslogtreecommitdiffstats
path: root/extras/hs-test/utils.go
diff options
context:
space:
mode:
authorFilip Tehlar <ftehlar@cisco.com>2023-01-12 16:21:55 +0100
committerFilip Tehlar <ftehlar@cisco.com>2023-01-12 16:21:55 +0100
commitdcca9e75a17aca6fd83586a4de66fed65ec5d11b (patch)
treeba87a4465e8d546684fd90a7e0c6bf0869afbd55 /extras/hs-test/utils.go
parentaf5744c3595dee92ff9ceb1e08314123baea35e5 (diff)
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
Diffstat (limited to 'extras/hs-test/utils.go')
-rw-r--r--extras/hs-test/utils.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/hs-test/utils.go b/extras/hs-test/utils.go
index f3b7ffa7578..13384989753 100644
--- a/extras/hs-test/utils.go
+++ b/extras/hs-test/utils.go
@@ -183,7 +183,7 @@ func startWget(finished chan error, server_ip, port, query, netNs string) {
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 {