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 <mondreji@cisco.com>
Change-Id: I8013aa453c2a1c3c156e6476a93fd58bbb850b93
This commit is contained in:
Maros Ondrejicka
2023-02-24 14:16:25 +01:00
committed by Florin Coras
parent 671cf51d6d
commit ad406077af

View File

@ -40,7 +40,7 @@ func (s *VethsSuite) TestHttpCli() {
s.assertContains(o, "<html>", "<html> 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"
}