e2e: purge the job in the UI stop_proxy() script (#23565)

otherwise namespace deletion fails due to non-terminal allocations
This commit is contained in:
Piotr Kazmierczak
2024-07-12 10:13:51 +02:00
committed by GitHub
parent fa8ffedd74
commit ddbb307fa6

View File

@@ -92,7 +92,7 @@ _get_svc_ip() {
stop_proxy() {
# make sure addr isn't still pointed at the proxy
export NOMAD_ADDR="${NOMAD_ADDR/6464/4646}"
nomad job stop -namespace=proxy nomad-proxy
nomad job stop -purge -namespace=proxy nomad-proxy
nomad namespace delete proxy
}