From: Maros Ondrejicka Date: Fri, 24 Feb 2023 13:16:25 +0000 (+0100) Subject: hs-test: modify nginx tests X-Git-Tag: v23.10-rc0~227 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=ad406077afa1138e1a666a120782ebf66b340b30;p=vpp.git hs-test: modify nginx tests This will make name of the test unique so that executing specifically this test won't execute also other tests starting with same name. Type: test Signed-off-by: Maros Ondrejicka Change-Id: I8013aa453c2a1c3c156e6476a93fd58bbb850b93 --- diff --git a/extras/hs-test/http_test.go b/extras/hs-test/http_test.go index df4b0126a23..93705b22b88 100644 --- a/extras/hs-test/http_test.go +++ b/extras/hs-test/http_test.go @@ -40,7 +40,7 @@ func (s *VethsSuite) TestHttpCli() { s.assertContains(o, "", " not found in the result!") } -func (s *NoTopoSuite) TestNginx() { +func (s *NoTopoSuite) TestNginxAsServer() { query := "return_ok" finished := make(chan error, 1) @@ -78,7 +78,7 @@ func runNginxPerf(s *NoTopoSuite, mode, ab_or_wrk string) error { exeName = "ab" } else { args = []string{"-c", fmt.Sprintf("%d", nClients), "-t", "2", "-d", "30", - "http://" + serverAddress + ":80"} + "http://" + serverAddress + ":80/64B.json"} exeName = "wrk" }