Skip to content

Commit

Permalink
bgpv1: Extend the timeout for the Test_NeighborAddDel test
Browse files Browse the repository at this point in the history
After the recent GoBGP version upgrade the Test_NeighborAddDel
test takes a bit longer than it used to.

Signed-off-by: Rastislav Szabo <rastislav.szabo@isovalent.com>
  • Loading branch information
rastislavs authored and dylandreimerink committed Jun 7, 2023
1 parent e3580a0 commit b302f77
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/bgpv1/test/neighbor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ import (

var (
// maxNeighborTestDuration is allowed time for the Neighbor tests execution
// (on average we need about 20 - 25s to finish the tests due to BGP timers etc.)
maxNeighborTestDuration = 40 * time.Second
// (on average we need about 35-40s to finish the tests due to BGP timers etc.)
maxNeighborTestDuration = 1 * time.Minute
)

// peeringState helper struct containing peering information of BGP neighbor
Expand Down

0 comments on commit b302f77

Please sign in to comment.