diff options
author | Maros Ondrejicka <mondreji@cisco.com> | 2023-02-24 14:16:25 +0100 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2023-02-24 17:17:09 +0000 |
commit | ad406077afa1138e1a666a120782ebf66b340b30 (patch) | |
tree | 19e7cb649dec7215562853f4cff4a47533e70680 /extras/hs-test | |
parent | 671cf51d6d0b08c216a99696aa30f17faff5e653 (diff) |
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
Diffstat (limited to 'extras/hs-test')
-rw-r--r-- | extras/hs-test/http_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
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, "<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" } |