f-80: e2e: verdicts propres à chaque test, API et journal injoignables en échec, nettoyage des fichiers t<NN>, sélection stricte des tests #80
Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
This commit is contained in:
parent
9a3345f258
commit
ddd20a88c5
13 changed files with 203 additions and 50 deletions
|
|
@ -20,7 +20,7 @@ esac
|
|||
on "${host}" "HOST=${host}" "ADDR=${addr}" "BACKEND=${backend}" "SW1=${SW1}" "SW2=${SW2}" <<'NODE'
|
||||
check "${HOST} : agent actif" systemctl is-active --quiet agent
|
||||
check "${HOST} : API de l'agent joignable" curl -fsS -o /dev/null "${API}/vpcs"
|
||||
check "${HOST} : backend DHCP ${BACKEND} configuré" grep -A1 -x 'dhcp:' /etc/two/agent.yml | grep -qx " backend: ${BACKEND}"
|
||||
check "${HOST} : backend DHCP ${BACKEND} configuré" sh -c "grep -A1 -x 'dhcp:' /etc/two/agent.yml | grep -qx ' backend: ${BACKEND}'"
|
||||
check "${HOST} : VTEP = adresse underlay ${ADDR}" test "$(vtep_host)" = "${ADDR}"
|
||||
for peer in 192.168.14.11 192.168.14.12 192.168.14.13; do
|
||||
[ "${peer}" = "${ADDR}" ] && continue
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue