From b34c6911908f3717992e3f33751a3fbc6209a461 Mon Sep 17 00:00:00 2001 From: Semir Sionek Date: Mon, 28 Apr 2025 10:45:10 -0400 Subject: [PATCH] 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 --- extras/hs-test/infra/vppinstance.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) -- 2.16.6