From 97f7ebcfaeff820a5d444e72460102b3f7a8451c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ond=C5=99ej=20Kuzn=C3=ADk?= Date: Wed, 6 Jul 2022 15:23:06 +0100 Subject: [PATCH] ITS#9878 Workaround for streams that won't receive the fix --- tests/scripts/test043-delta-syncrepl | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/tests/scripts/test043-delta-syncrepl b/tests/scripts/test043-delta-syncrepl index c5c5a413b2..0d30e72254 100755 --- a/tests/scripts/test043-delta-syncrepl +++ b/tests/scripts/test043-delta-syncrepl @@ -492,6 +492,19 @@ if test $WAIT != 0 ; then fi KILLPIDS="$PID $CONSUMERPID" +echo "Waiting $SLEEP1 seconds for syncrepl to reschedule (ITS#9878) and poking it..." +sleep $SLEEP1 + +$LDAPSEARCH -s base -b "$MONITOR" -H $URI2 \ + 'objectclass=*' > /dev/null 2>&1 +RC=$? + +if test $RC != 0; then + echo "ldapsearch failed at consumer ($RC)!" + test $KILLSERVERS != no && kill -HUP $KILLPIDS + exit 1 +fi + echo "Waiting $SLEEP1 seconds for syncrepl to receive changes..." sleep $SLEEP1 -- 2.47.2