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:
290dc7b
)
hs-test: return error if connecting to vpp fails
78/41178/2
author
Hadi Rayan Al-Sandid
<
[email protected]
>
Mon, 24 Jun 2024 08:48:54 +0000
(10:48 +0200)
committer
Dave Wallace
<
[email protected]
>
Tue, 25 Jun 2024 14:59:36 +0000
(14:59 +0000)
Type: fix
Fix case where no error code would be returned if vpp was launched,
but then exited due to invalid configuration.
Change-Id: I54d526629a2ee0206227615ffb6cb658779f93a0
Signed-off-by: Hadi Rayan Al-Sandid <
[email protected]
>
extras/hs-test/infra/vppinstance.go
patch
|
blob
|
history
diff --git
a/extras/hs-test/infra/vppinstance.go
b/extras/hs-test/infra/vppinstance.go
index
5164a54
..
48d2b78
100644
(file)
--- a/
extras/hs-test/infra/vppinstance.go
+++ b/
extras/hs-test/infra/vppinstance.go
@@
-184,6
+184,7
@@
func (vpp *VppInstance) Start() error {
e := <-connEv
if e.State != core.Connected {
vpp.getSuite().Log("connecting to VPP failed: " + fmt.Sprint(e.Error))
+ return e.Error
}
ch, err := conn.NewStream(