tests: Speedup test_all_protocol_startup.py by 55 seconds

Just make ospf and ospfv3 converge faster with faster
hello timers.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
This commit is contained in:
Donald Sharp 2022-10-26 11:53:20 -04:00 committed by Donald Sharp
parent 1e8a2920cb
commit 8966cca209
4 changed files with 13 additions and 3 deletions

View File

@ -6,6 +6,7 @@ log file ospf6d.log
! debug ospf6 neighbor
!
interface r1-eth4
ipv6 ospf6 hello-interval 1
!
router ospf6
ospf6 router-id 192.168.0.1

View File

@ -3,6 +3,15 @@ log file ospfd.log
! debug ospf event
! debug ospf zebra
!
!
interface r1-eth0
ip ospf hello-interval 1
ip ospf dead-interval 5
!
interface r1-eth3
ip ospf hello-interval 1
ip ospf dead-interval 5
!
router ospf
ospf router-id 192.168.0.1
log-adjacency-changes

View File

@ -7,7 +7,7 @@ r1-eth0 is up
Designated Router (ID) 192.168.0.1 Interface Address 192.168.0.1/24
No backup designated router on this network
Multicast group memberships: OSPFAllRouters OSPFDesignatedRouters
Timer intervals configured, Hello 10s, Dead 40s, Wait 40s, Retransmit 5
Timer intervals configured, Hello 1s, Dead 5s, Wait 5s, Retransmit 5
Hello due in XX.XXXs
Neighbor Count is 0, Adjacent neighbor count is 0
r1-eth3 is up
@ -19,6 +19,6 @@ r1-eth3 is up
Designated Router (ID) 192.168.0.1 Interface Address 192.168.3.1/26
No backup designated router on this network
Multicast group memberships: OSPFAllRouters OSPFDesignatedRouters
Timer intervals configured, Hello 10s, Dead 40s, Wait 40s, Retransmit 5
Timer intervals configured, Hello 1s, Dead 5s, Wait 5s, Retransmit 5
Hello due in XX.XXXs
Neighbor Count is 0, Adjacent neighbor count is 0

View File

@ -301,7 +301,7 @@ def test_converge_protocols():
print("******************************************\n")
# Not really implemented yet - just sleep 60 secs for now
sleep(60)
sleep(5)
# Make sure that all daemons are running
failures = 0