From 289808ee4619721beff310e1db701219807ec51e Mon Sep 17 00:00:00 2001 From: claudio Date: Fri, 4 Mar 2022 11:01:15 +0000 Subject: [PATCH] Make the regress test more reliable by starting the bgpd instances further apart from each other. bgpd's connection collision avoidance is not optimal and in that case the regress test timeous out before the session is up. --- regress/usr.sbin/bgpd/integrationtests/network_statement.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/regress/usr.sbin/bgpd/integrationtests/network_statement.sh b/regress/usr.sbin/bgpd/integrationtests/network_statement.sh index 493c9986ac9..87250af2a48 100644 --- a/regress/usr.sbin/bgpd/integrationtests/network_statement.sh +++ b/regress/usr.sbin/bgpd/integrationtests/network_statement.sh @@ -1,5 +1,5 @@ #!/bin/ksh -# $OpenBSD: network_statement.sh,v 1.6 2022/02/22 06:04:46 anton Exp $ +# $OpenBSD: network_statement.sh,v 1.7 2022/03/04 11:01:15 claudio Exp $ set -e @@ -89,14 +89,14 @@ ifconfig lo${RDOMAIN1} inet 127.0.0.1/8 ifconfig lo${RDOMAIN2} inet 127.0.0.1/8 echo add routes +route -T ${RDOMAIN1} exec ${BGPD} \ + -v -f ${BGPDCONFIGDIR}/bgpd.network_statement.rdomain1.conf route -T ${RDOMAIN2} add ${PAIR2STATIC} ${PAIR1IP} ifconfig ${PAIR2} alias ${PAIR2CONNIP}/${PAIR2CONNPREF} route -T ${RDOMAIN2} add -label PAIR2RTABLE ${PAIR2RTABLE} \ ${PAIR1IP} route -T ${RDOMAIN2} add -priority 55 ${PAIR2PRIORITY} \ ${PAIR1IP} -route -T ${RDOMAIN1} exec ${BGPD} \ - -v -f ${BGPDCONFIGDIR}/bgpd.network_statement.rdomain1.conf route -T ${RDOMAIN2} exec ${BGPD} \ -v -f ${BGPDCONFIGDIR}/bgpd.network_statement.rdomain2.conf -- 2.20.1