From dd9eed3fb05f68ed1ae7aa0ce0fe027c2d638cf2 Mon Sep 17 00:00:00 2001 From: Karim Jahed Date: Fri, 16 Feb 2024 00:59:48 -0500 Subject: [PATCH] TE-11.3,RT-1.10: configure default NI name (#2548) * use util function to configure default ni * revert benchmarking test --- .../bgp_keepalive_and_holdtimer_configuration_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/feature/bgp/timers/otg_tests/bgp_keepalive_and_holdtimer_configuration_test/bgp_keepalive_and_holdtimer_configuration_test.go b/feature/bgp/timers/otg_tests/bgp_keepalive_and_holdtimer_configuration_test/bgp_keepalive_and_holdtimer_configuration_test.go index 043531d4b08..75fd153d88a 100644 --- a/feature/bgp/timers/otg_tests/bgp_keepalive_and_holdtimer_configuration_test/bgp_keepalive_and_holdtimer_configuration_test.go +++ b/feature/bgp/timers/otg_tests/bgp_keepalive_and_holdtimer_configuration_test/bgp_keepalive_and_holdtimer_configuration_test.go @@ -484,8 +484,7 @@ func TestBgpKeepAliveHoldTimerConfiguration(t *testing.T) { configureDUT(t, dut) t.Log("Configure RPL") configureRoutePolicy(t, dut, bgpGlobalAttrs.rplName, oc.RoutingPolicy_PolicyResultType_ACCEPT_ROUTE) - dutConfNIPath := gnmi.OC().NetworkInstance(deviations.DefaultNetworkInstance(dut)) - gnmi.Replace(t, dut, dutConfNIPath.Type().Config(), oc.NetworkInstanceTypes_NETWORK_INSTANCE_TYPE_DEFAULT_INSTANCE) + fptest.ConfigureDefaultNetworkInstance(t, dut) t.Logf("Start DUT BGP Config") dutConfPath := gnmi.OC().NetworkInstance(deviations.DefaultNetworkInstance(dut)).Protocol(oc.PolicyTypes_INSTALL_PROTOCOL_TYPE_BGP, "BGP") dutConf := bgpCreateNbr(dut)