From c07753c5e2bbc14c655af61ced51742389942d5c Mon Sep 17 00:00:00 2001 From: Harry Solovay Date: Fri, 14 Oct 2022 17:43:37 -0400 Subject: [PATCH] Update test_ctx.ts Co-authored-by: Matias Volpe --- test_ctx.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test_ctx.ts b/test_ctx.ts index fa16bee89..d68b78543 100644 --- a/test_ctx.ts +++ b/test_ctx.ts @@ -23,9 +23,11 @@ const cmdProcess = Deno.run({ TEST_CTX_PORT: listener.addr.port.toString(), }, }); -await cmdProcess.status(); +const status = await cmdProcess.status(); cleanup(); +Deno.exit(status.code); + async function useListener(listener: Deno.Listener, lookup: DevNets) { for await (const conn of listener) { useConn(conn);