Case: Run without reconnection

This commit is contained in:
Ivan Ilves 2017-05-27 00:06:54 +02:00
parent 63e8a4d53c
commit 3650bb3a37
3 changed files with 16 additions and 1 deletions

View File

@ -24,6 +24,7 @@ script:
- testing/run_integration_case.sh run_with_dns_propagation
- testing/run_integration_case.sh run_without_dns_propagation
- testing/run_integration_case.sh run_with_reconnection
- testing/run_integration_case.sh run_without_reconnection
branches:
only:

View File

@ -1,4 +1,4 @@
INIT_DELAY=10
INIT_DELAY=5
DOWN_DELAY=5
${XIRI_EXE} -f 1 -X ${SSH_USER}@${REMOTE_IP} 10.245.245.245/32 &

View File

@ -0,0 +1,14 @@
INIT_DELAY=5
${XIRI_EXE} -f 1 -X -R ${SSH_USER}@${REMOTE_IP} 10.245.245.245/32 &
XIRI_PID=${!}; sleep ${INIT_DELAY}
docker restart xiri-${DIST}
sleep ${INIT_DELAY}
warn "$(ip route | grep 10.245.245.245)"
if [[ -n "$(ip route | grep 10.245.245.245)" ]]; then
complain "Routing not down, but it should be!"
exit 1
fi