hs-test: modify nginx tests 54/38354/3
authorMaros Ondrejicka <mondreji@cisco.com>
Fri, 24 Feb 2023 13:16:25 +0000 (14:16 +0100)
committerFlorin Coras <florin.coras@gmail.com>
Fri, 24 Feb 2023 17:17:09 +0000 (17:17 +0000)
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

extras/hs-test/http_test.go

index df4b012..93705b2 100644 (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"
        }