mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 14:35:26 +00:00
Increase max wait time for transfer to Retry time + 1 minute, since some
OS's appear to drop UDP packets and not get the initial SOA reply.
This commit is contained in:
@@ -15,7 +15,7 @@
|
|||||||
# ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
|
# ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
|
||||||
# SOFTWARE.
|
# SOFTWARE.
|
||||||
|
|
||||||
# $Id: tests.sh,v 1.15 2000/07/07 23:18:51 gson Exp $
|
# $Id: tests.sh,v 1.16 2000/07/11 23:42:56 mws Exp $
|
||||||
|
|
||||||
SYSTEMTESTTOP=..
|
SYSTEMTESTTOP=..
|
||||||
. $SYSTEMTESTTOP/conf.sh
|
. $SYSTEMTESTTOP/conf.sh
|
||||||
@@ -26,7 +26,7 @@ SYSTEMTESTTOP=..
|
|||||||
|
|
||||||
count=0
|
count=0
|
||||||
ticks=0
|
ticks=0
|
||||||
while [ $count != 300 ]; do
|
while [ $count != 360 ]; do
|
||||||
if [ $ticks = 1 ]; then
|
if [ $ticks = 1 ]; then
|
||||||
echo "I:Changing test zone..."
|
echo "I:Changing test zone..."
|
||||||
cp ns1/changing2.db ns1/changing.db
|
cp ns1/changing2.db ns1/changing.db
|
||||||
@@ -35,7 +35,7 @@ while [ $count != 300 ]; do
|
|||||||
sleep 1
|
sleep 1
|
||||||
ticks=`expr $ticks + 1`
|
ticks=`expr $ticks + 1`
|
||||||
seconds=`expr $ticks \* 1`
|
seconds=`expr $ticks \* 1`
|
||||||
if [ $ticks = 60 ]; then
|
if [ $ticks = 300 ]; then
|
||||||
echo "I:Took too long to load zones"
|
echo "I:Took too long to load zones"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user