test: force proxy container drain
This commit is contained in:
@@ -245,6 +245,8 @@ def main() -> None:
|
|||||||
# before its listener is shut down.
|
# before its listener is shut down.
|
||||||
nginx.terminate()
|
nginx.terminate()
|
||||||
nginx.wait(timeout=5)
|
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
|
assert backend.stdin is not None
|
||||||
backend.stdin.write('"stop"\n')
|
backend.stdin.write('"stop"\n')
|
||||||
|
|||||||
Reference in New Issue
Block a user