test: add local 2x2 route topology

This commit is contained in:
2026-07-23 03:14:16 +00:00
parent 10e803eaee
commit a66269cb69
27 changed files with 775 additions and 7 deletions
+19
View File
@@ -0,0 +1,19 @@
#!/usr/bin/env bash
set -euo pipefail
source "$(dirname "$0")/lib.sh"
for ((index=${#E2E_NODES[@]} - 1; index >= 0; index--)); do
compose_node "${E2E_NODES[index]}" down --remove-orphans
done
compose_control down --remove-orphans
label=$(docker network inspect \
-f '{{ index .Labels "archive-control.e2e" }}' \
"$E2E_NETWORK" 2>/dev/null || true)
if [[ "$label" == "true" ]]; then
docker network rm "$E2E_NETWORK" >/dev/null
fi
printf 'E2E containers stopped; bind-mounted runtime state was retained.\n'