test: force proxy container drain

This commit is contained in:
2026-09-22 16:12:22 +08:00
parent a4d843b8f4
commit 3b4d0a3fad

View File

@@ -245,6 +245,8 @@ def main() -> None:
# before its listener is shut down.
nginx.terminate()
nginx.wait(timeout=5)
subprocess.run(["docker", "rm", "-f", nginx_name], check=False,
stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
assert backend.stdin is not None
backend.stdin.write('"stop"\n')