Skip to content

Commit

Permalink
ci: disable its8444 for now.
Browse files Browse the repository at this point in the history
Also revert:
  temporary workaround for #121
  commit de8bdb7.
  • Loading branch information
erthink committed Apr 18, 2017
1 parent 162b74a commit 61bdde1
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 17 deletions.
4 changes: 2 additions & 2 deletions tests/data/regressions/its8444/its8444
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ echo "See http://www.openldap.org/its/index.cgi/?findid=8444 for more informatio

MMR=4
if [ -n "${TEAMCITY_PROCESS_FLOW_ID}" -o -n "${TRAVIS_BUILD_ID}" ]; then
echo "Skip its8444, as a workaround for https://github.com/ReOpen/ReOpenLDAP/issues/121 (FIXME)"
exit 0
NNN=10
else
NNN=42
Expand Down Expand Up @@ -91,8 +93,6 @@ for ((n=1; n<=$MMR; n++)); do
fi
KILLPIDS="$PID $KILLPIDS"
check_running $n

issue121_crutch $n
done

echo "Populating database on first provider..."
Expand Down
9 changes: 0 additions & 9 deletions tests/scripts/defines.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,6 @@ pkill -SIGKILL -s 0 -u $EUID lt-slapd
TESTWD=$(pwd)
umask 0002

# FIXME
function issue121_crutch() {
echo "Sleep $1*$SLEEP1 seconds - as a workaround for https://github.com/ReOpen/ReOpenLDAP/issues/121 (FIXME)"
local i
for ((i=0; i<=$1; i++)); do
sleep $SLEEP1
done
}

#LY: man enabled overlays & backends
declare -A AC_conf
for i in $AC_SLAPD_OVERLAYS_LIST $AC_SLAPD_BACKENDS_LIST; do
Expand Down
6 changes: 0 additions & 6 deletions tests/scripts/test019-syncrepl-cascade
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ if test $WAIT != 0 ; then
fi
KILLPIDS="$PID"
check_running 1 master
issue121_crutch 1

echo "Using ldapadd to create the context prefix entry in the master..."
$LDAPADD -D "$MANAGERDN" -h $LOCALHOST -p $PORT1 -w $PASSWD < \
Expand All @@ -64,7 +63,6 @@ if test $WAIT != 0 ; then
fi
KILLPIDS="$KILLPIDS $SLAVEPID"
check_running 2 R1-slave
issue121_crutch 2

echo "Starting R2-slave slapd on TCP/IP port $PORT3..."
config_filter $BACKEND ${AC_conf[monitor]} < $R2SRSLAVECONF > $CONF3
Expand All @@ -76,7 +74,6 @@ if test $WAIT != 0 ; then
fi
KILLPIDS="$KILLPIDS $SLAVEPID"
check_running 3 R2-slave
issue121_crutch 3

echo "Starting P1-slave slapd on TCP/IP port $PORT4..."
config_filter $BACKEND ${AC_conf[monitor]} < $P1SRSLAVECONF > $CONF4
Expand All @@ -88,7 +85,6 @@ if test $WAIT != 0 ; then
fi
KILLPIDS="$KILLPIDS $SLAVEPID"
check_running 4 P1-slave
issue121_crutch 4

echo "Starting P2 slave slapd on TCP/IP port $PORT5..."
config_filter $BACKEND ${AC_conf[monitor]} < $P2SRSLAVECONF > $CONF5
Expand All @@ -100,7 +96,6 @@ if test $WAIT != 0 ; then
fi
KILLPIDS="$KILLPIDS $SLAVEPID"
check_running 5 P2-slave
issue121_crutch 5

echo "Starting P3 slave slapd on TCP/IP port $PORT6..."
config_filter $BACKEND ${AC_conf[monitor]} < $P3SRSLAVECONF > $CONF6
Expand All @@ -112,7 +107,6 @@ if test $WAIT != 0 ; then
fi
KILLPIDS="$KILLPIDS $SLAVEPID"
check_running 6 P3-slave
issue121_crutch 6

echo "Using ldapadd to populate the master directory..."
$LDAPADD -D "$MANAGERDN" -h $LOCALHOST -p $PORT1 -w $PASSWD < \
Expand Down

0 comments on commit 61bdde1

Please sign in to comment.