summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFilip Tehlar <ftehlar@cisco.com>2024-01-17 21:45:28 +0100
committerFlorin Coras <florin.coras@gmail.com>2024-01-18 17:06:00 +0000
commit87241fefd94423cdc50cfe6b1b54fec955b5f0d3 (patch)
treef97c09543c1beb580da8b37f9f7e873b8a5b17de
parent01fe7ab88efe1771618358ee5e90f56996ba909e (diff)
hs-test: use specific port for http3 test
curl sometimes uses 2 different source ports during the test. Type: test Change-Id: Ib27e9d22a9cc951f4729f4bd0ae99d80bf8d938b Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
-rw-r--r--extras/hs-test/http_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/hs-test/http_test.go b/extras/hs-test/http_test.go
index 53e6ec22ac3..9872f8db560 100644
--- a/extras/hs-test/http_test.go
+++ b/extras/hs-test/http_test.go
@@ -53,7 +53,7 @@ func (s *NoTopoSuite) TestNginxHttp3() {
defer func() { os.Remove(query) }()
curlCont := s.getContainerByName("curl")
- args := fmt.Sprintf("curl --noproxy '*' --http3-only -k https://%s:8443/%s", serverAddress, query)
+ args := fmt.Sprintf("curl --noproxy '*' --local-port 55444 --http3-only -k https://%s:8443/%s", serverAddress, query)
curlCont.extraRunningArgs = args
o, err := curlCont.combinedOutput()
s.assertNil(err)