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>
This commit is contained in:
Filip Tehlar
2024-01-17 21:45:28 +01:00
committed by Florin Coras
parent 01fe7ab88e
commit 87241fefd9

View File

@@ -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)