diff options
author | Filip Tehlar <ftehlar@cisco.com> | 2023-03-16 13:52:54 +0100 |
---|---|---|
committer | Filip Tehlar <ftehlar@cisco.com> | 2023-03-16 13:52:54 +0100 |
commit | 890eced9171388a62ad9dbd810627cad51e53208 (patch) | |
tree | 17e2e78a64c11d2d1c57b81a685600f4c6a237b8 /extras/hs-test | |
parent | e7625d08566f6127acb351376797b4fdc75e3c6a (diff) |
hs-test: check exit value of ab/wrk
Type: test
Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
Change-Id: I967e91e4ea97edff427013c92376b388d6ce5d85
Diffstat (limited to 'extras/hs-test')
-rw-r--r-- | extras/hs-test/http_test.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/extras/hs-test/http_test.go b/extras/hs-test/http_test.go index 87130b7e47c..310dc8331ee 100644 --- a/extras/hs-test/http_test.go +++ b/extras/hs-test/http_test.go @@ -89,8 +89,9 @@ func runNginxPerf(s *NoTopoSuite, mode, ab_or_wrk string) error { cmd := exec.Command(exeName, args...) s.log(cmd) - o, _ := cmd.CombinedOutput() + o, err := cmd.CombinedOutput() s.log(string(o)) + s.assertNil(err) s.assertNotEmpty(o) return nil } |