hs-test: check exit value of ab/wrk
Type: test
Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
Change-Id: I967e91e4ea97edff427013c92376b388d6ce5d85
diff --git a/extras/hs-test/http_test.go b/extras/hs-test/http_test.go
index 87130b7..310dc83 100644
--- a/extras/hs-test/http_test.go
+++ b/extras/hs-test/http_test.go
@@ -89,8 +89,9 @@
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
}