mirror of
https://github.com/ivanilves/xiringuito.git
synced 2025-05-21 01:30:27 -07:00
Case: Run without reconnection
This commit is contained in:
parent
63e8a4d53c
commit
3650bb3a37
@ -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:
|
||||
|
@ -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 &
|
||||
|
@ -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
|
Loading…
x
Reference in New Issue
Block a user