Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
e7625d0
)
hs-test: check exit value of ab/wrk
04/38504/1
author
Filip Tehlar
<ftehlar@cisco.com>
Thu, 16 Mar 2023 12:52:54 +0000
(13:52 +0100)
committer
Filip Tehlar
<ftehlar@cisco.com>
Thu, 16 Mar 2023 12:52:54 +0000
(13:52 +0100)
Type: test
Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
Change-Id: I967e91e4ea97edff427013c92376b388d6ce5d85
extras/hs-test/http_test.go
patch
|
blob
|
history
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
}