From: Semir Sionek Date: Mon, 28 Apr 2025 14:45:10 +0000 (-0400) Subject: hs-test: increase vppinstance connect interval X-Git-Tag: v25.10-rc0~30 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=b34c6911908f3717992e3f33751a3fbc6209a461;p=vpp.git hs-test: increase vppinstance connect interval ... to make sure hs-test on slower systems has a chance of catching vpp before timing out. Type: fix Change-Id: I8b006c9caddbab6e63e3d7f1bee5ad2f342551cb Signed-off-by: Semir Sionek --- diff --git a/extras/hs-test/infra/vppinstance.go b/extras/hs-test/infra/vppinstance.go index 41bcb66ee49..0ee8fead9ab 100644 --- a/extras/hs-test/infra/vppinstance.go +++ b/extras/hs-test/infra/vppinstance.go @@ -180,7 +180,7 @@ func (vpp *VppInstance) Start() error { return nil } - maxReconnectAttempts := 3 + maxReconnectAttempts := 6 // Replace default logger in govpp with our own govppLogger := logrus.New() govppLogger.SetOutput(io.MultiWriter(vpp.getSuite().Logger.Writer(), GinkgoWriter)) @@ -188,7 +188,7 @@ func (vpp *VppInstance) Start() error { vpp.getSuite().Log("starting vpp") if *IsVppDebug { - // default = 3; VPP will timeout while debugging if there are not enough attempts + // default = 6; VPP will timeout while debugging if there are not enough attempts maxReconnectAttempts = 5000 sig := make(chan os.Signal, 1) signal.Notify(sig, syscall.SIGQUIT)