From: Hadi Rayan Al-Sandid Date: Mon, 24 Jun 2024 08:48:54 +0000 (+0200) Subject: hs-test: return error if connecting to vpp fails X-Git-Tag: v25.02-rc0~167 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=0eccf453c6550bf7c3435dd08c8b504d82e2e2bd;p=vpp.git hs-test: return error if connecting to vpp fails 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 --- diff --git a/extras/hs-test/infra/vppinstance.go b/extras/hs-test/infra/vppinstance.go index 5164a54aa9a..48d2b783917 100644 --- 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(