From: Filip Tehlar Date: Thu, 12 Jan 2023 15:21:55 +0000 (+0100) Subject: hs-test: fix tests using wget X-Git-Tag: v23.06-rc0~25 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=dcca9e75a17aca6fd83586a4de66fed65ec5d11b;p=vpp.git hs-test: fix tests using wget This fixes an issue on systems with http proxy set. Type: test Signed-off-by: Filip Tehlar Change-Id: Ic84fcd0b8a7698ef101b369d46be858cbe85fc73 --- 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 {