From c2c05d9138e962fd3b731266e702f5dd8c15b139 Mon Sep 17 00:00:00 2001 From: Anvesh Jaggapatruni Date: Tue, 10 Dec 2024 13:40:18 +0530 Subject: [PATCH] Revert "cnf network: remove timers from frrconfig CR (#301)" This reverts commit 2caed88635c464aa9762ea4f4e51dc3b07cdd47b. --- tests/cnf/core/network/metallb/tests/frrk8-tests.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/cnf/core/network/metallb/tests/frrk8-tests.go b/tests/cnf/core/network/metallb/tests/frrk8-tests.go index 7c3144f2c..c7d881082 100644 --- a/tests/cnf/core/network/metallb/tests/frrk8-tests.go +++ b/tests/cnf/core/network/metallb/tests/frrk8-tests.go @@ -809,8 +809,10 @@ func createFrrConfiguration(name, bgpPeerIP string, remoteAS uint32, filteredIP frrConfig.WithEBGPMultiHop(0, 0) } - // Set Password and Port + // Set HoldTime, Keepalive, Password, and Port frrConfig. + WithHoldTime(metav1.Duration{Duration: 90 * time.Second}, 0, 0). + WithKeepalive(metav1.Duration{Duration: 30 * time.Second}, 0, 0). WithBGPPassword("bgp-test", 0, 0). WithPort(179, 0, 0)