hs-test: increase vppinstance connect interval 08/42908/3
authorSemir Sionek <[email protected]>
Mon, 28 Apr 2025 14:45:10 +0000 (10:45 -0400)
committerDave Wallace <[email protected]>
Wed, 7 May 2025 15:32:38 +0000 (15:32 +0000)
... 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 <[email protected]>
extras/hs-test/infra/vppinstance.go

index 41bcb66..0ee8fea 100644 (file)
@@ -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)