Skip to content

Commit

Permalink
fixing cisco fib values and add sleep (#3543)
Browse files Browse the repository at this point in the history
  • Loading branch information
ram-mac authored Oct 28, 2024
1 parent 30fbf7a commit f615dea
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ var (
ondatra.ARISTA: 2500000,
ondatra.JUNIPER: 2500000,
ondatra.NOKIA: 2600000,
ondatra.CISCO: 2500000,
}
dutPort1 = attrs.Attributes{
Desc: "dutPort1",
Expand Down Expand Up @@ -290,7 +291,7 @@ func TestFibFailDueToHwResExhaust(t *testing.T) {
var otgBgpPeer gosnappi.BgpV6Peer
var otgIPv6Device gosnappi.DeviceIpv6
otgBgpPeer, otgIPv6Device, otgConfig = configureOTG(t, otg, dstIPList)

time.Sleep(30 * time.Second)
verifyBgpTelemetry(t, dut)

gribic := dut.RawAPIs().GRIBI(t)
Expand Down Expand Up @@ -404,7 +405,7 @@ func verifyBgpTelemetry(t *testing.T, dut *ondatra.DUTDevice) {
var nbrIP = []string{atePort1.IPv6}
t.Logf("Verifying BGP state.")
bgpPath := gnmi.OC().NetworkInstance(deviations.DefaultNetworkInstance(dut)).Protocol(oc.PolicyTypes_INSTALL_PROTOCOL_TYPE_BGP, "BGP").Bgp()

time.Sleep(30 * time.Second)
for _, nbr := range nbrIP {
nbrPath := bgpPath.Neighbor(nbr)
// Get BGP adjacency state.
Expand Down

0 comments on commit f615dea

Please sign in to comment.