]> git.sur5r.net Git - openldap/blobdiff - tests/scripts/test036-meta-concurrency
ITS#3671 must release conn->c_mutex to allow blocked writers to exit
[openldap] / tests / scripts / test036-meta-concurrency
index 57e28743e1d485d23b99540559a6d0d9764373b4..68741cd1e0ea2a85753acf7e75f0dd7f6fe0b3f6 100755 (executable)
@@ -170,6 +170,13 @@ for f in $TESTDIR/$DATADIR/do_read.* ; do
        echo "ou=Meta,$METABASEDN" >> $f
 done
 
+# add a read that matches a referral in the local database only, 
+# but selects also the remote as candidate; this should be removed 
+# to compare execution times with test008...
+for f in $TESTDIR/$DATADIR/do_read.* ; do
+       echo "cn=Somewhere,ou=Meta,$METABASEDN" >> $f
+done
+
 echo "Using tester for concurrent server access..."
 $SLAPDTESTER -P "$PROGDIR" -d "$TESTDIR/$DATADIR" -h $LOCALHOST -p $PORT3 -D "cn=Manager,$METABASEDN" -w $PASSWD -l 50 # -r 20
 RC=$?
@@ -198,7 +205,7 @@ echo "Filtering original ldif used to create database..."
 . $LDIFFILTER < $METACONCURRENCYOUT > $LDIFFLT
 echo "Comparing filter output..."
 $CMP $SEARCHFLT $LDIFFLT > $CMPOUT
-       
+
 if test $? != 0 ; then
        echo "comparison failed - meta search/modification didn't succeed"
        exit 1