hs-test: check exit value of ab/wrk
Type: test Signed-off-by: Filip Tehlar <ftehlar@cisco.com> Change-Id: I967e91e4ea97edff427013c92376b388d6ce5d85
This commit is contained in:
@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user