mirror of
https://github.com/kemko/nomad.git
synced 2026-01-01 16:05:42 +03:00
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:
committed by
GitHub
parent
fa8ffedd74
commit
ddbb307fa6
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user