chore: drop debug scaffolding from proxy-route bats files
Removes the per-step docker inspect label dumps in the caddy/traefik/openresty backend tests, the kubectl get service/ingress/endpoints dumps in the k3s T1 tests, the openresty T2 sidecar log fallback that became unnecessary once 0.12.1 fixed the upstream cache regression, and the trailing cat of /tmp/route-removed-body in every T3. The output/status echoes that match the project's bats convention stay, as does the file-based grep in T3 and every assertion-bearing kubectl call.
This commit is contained in:
6 files changed
+3
-136
No files matched your search
@@ -49,15 +49,6 @@ teardown() {
|
||||
echo "status: $status"
|
||||
assert_success
|
||||
|
||||
# Diagnostic: dump the cluster state so CI logs show whether the api
|
||||
# Service and the IngressRoute are wired correctly.
|
||||
run /bin/bash -c "kubectl get service -o yaml 2>&1"
|
||||
echo "services: $output"
|
||||
run /bin/bash -c "kubectl get ingressroute.traefik.io -o yaml 2>&1"
|
||||
echo "ingressroutes: $output"
|
||||
run /bin/bash -c "kubectl get endpoints -o yaml 2>&1"
|
||||
echo "endpoints: $output"
|
||||
|
||||
# Without --strip-prefix, /api/v0/Procfile reaches api as /api/v0/Procfile
|
||||
# which python's http.server returns 404 for. 404 proves the route reaches
|
||||
# api (web's catch-all would have returned 200).
|
||||
|
||||
Reference in new issue
Block a user