diff options
| author | Nalin Dahyabhai <nalin.dahyabhai@pobox.com> | 2008-07-08 19:00:15 -0400 |
|---|---|---|
| committer | Nalin Dahyabhai <nalin.dahyabhai@pobox.com> | 2008-07-08 19:00:15 -0400 |
| commit | d3e778da447943518e67f2cb213bc92fdf0c9e5b (patch) | |
| tree | 3d74a0423844288420b8e12d9185f15e9c2d1b67 | |
| parent | bcf0baa1c4c92c999d48c3c784abbe62a1b1da86 (diff) | |
| download | slapi-nis-d3e778da447943518e67f2cb213bc92fdf0c9e5b.tar.gz slapi-nis-d3e778da447943518e67f2cb213bc92fdf0c9e5b.tar.xz slapi-nis-d3e778da447943518e67f2cb213bc92fdf0c9e5b.zip | |
- try to set up the DIT for a longer period before giving up
| -rw-r--r-- | tests/slapd.sh.in | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/slapd.sh.in b/tests/slapd.sh.in index e19e88d..12ccf0d 100644 --- a/tests/slapd.sh.in +++ b/tests/slapd.sh.in @@ -63,13 +63,14 @@ startslapd() { $SLAPD -D $TESTDIR/config -i $STATEDIR/pid -w $STATEDIR/pid if ! add -f $TESTDIR/config/userRoot.ldif > /dev/null 2> /dev/null ; then local i - for i in `seq 5` ; do + local max=10 + for i in `seq $max` ; do sleep 1 if add -f $TESTDIR/config/userRoot.ldif > /dev/null 2> /dev/null ; then break fi done - if test $i -eq 5 ; then + if test $i -eq $max ; then echo ERROR: failed to add default entry set to server. fi fi |
