Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
hs-test: check exit value of ab/wrk
[vpp.git]
/
extras
/
hs-test
/
http_test.go
diff --git
a/extras/hs-test/http_test.go
b/extras/hs-test/http_test.go
index
87130b7
..
310dc83
100644
(file)
--- 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
}