From ddbb307fa608ca766d00ed59f066334851ea5d2e Mon Sep 17 00:00:00 2001 From: Piotr Kazmierczak <470696+pkazmierczak@users.noreply.github.com> Date: Fri, 12 Jul 2024 10:13:51 +0200 Subject: [PATCH] e2e: purge the job in the UI stop_proxy() script (#23565) otherwise namespace deletion fails due to non-terminal allocations --- e2e/ui/run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e2e/ui/run.sh b/e2e/ui/run.sh index 48cf2711d..5df357001 100755 --- a/e2e/ui/run.sh +++ b/e2e/ui/run.sh @@ -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 }