From 70c5050d85c8d2ae6ca7f9c8b4a7efac129bf0d7 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Wed, 19 Aug 1998 00:11:06 +0000 Subject: [PATCH] Added slurpd log and extend slurpd sleep to 15 seconds --- tests/scripts/defines.sh | 1 + tests/scripts/test007-replication | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/tests/scripts/defines.sh b/tests/scripts/defines.sh index 221ea0d023..3e7e65f12a 100755 --- a/tests/scripts/defines.sh +++ b/tests/scripts/defines.sh @@ -22,6 +22,7 @@ BJORNSDN="cn=Bjorn Jensen, ou=Information Technology Division, ou=People, o=Univ JAJDN="cn=James A Jones 1, ou=Alumni Association, ou=People, o=University of Michigan, c=US" MASTERLOG=$DBDIR/master.log SLAVELOG=$DBDIR/slave.log +SLURPLOG=$DBDIR/slurp.log SEARCHOUT=$DBDIR/ldapsearch.out MASTEROUT=$DBDIR/master.out SLAVEOUT=$DBDIR/slave.out diff --git a/tests/scripts/test007-replication b/tests/scripts/test007-replication index cfc24edd5e..6a643cb488 100755 --- a/tests/scripts/test007-replication +++ b/tests/scripts/test007-replication @@ -48,7 +48,7 @@ for i in 0 1 2 3 4 5; do done echo "Starting slurpd..." -$SLURPD -f $MASTERCONF -d 4 -t $REPLDIR > /dev/null 2>&1 & +$SLURPD -f $MASTERCONF -d 4 -t $REPLDIR > $SLURPLOG 2>&1 & SLURPPID=$! echo "Using ldapmodify to populate the database..." @@ -123,8 +123,8 @@ changetype: delete EOMODS -echo "Waiting 10 seconds for slurpd to send changes..." -sleep 10 +echo "Waiting 15 seconds for slurpd to send changes..." +sleep 15 echo "Using ldapsearch to read all the entries from the master..." $LDAPSEARCH -L -S "" -b "$BASEDN" -h localhost -p $PORT \ -- 2.39.5