From 87241fefd94423cdc50cfe6b1b54fec955b5f0d3 Mon Sep 17 00:00:00 2001 From: Filip Tehlar Date: Wed, 17 Jan 2024 21:45:28 +0100 Subject: 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 --- extras/hs-test/http_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extras') 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) -- cgit 1.2.3-korg