We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b0c7feb commit 8b0ca9cCopy full SHA for 8b0ca9c
tests/conftest.py
@@ -77,7 +77,6 @@ def a_server(
77
# prepare some URLss
78
url = f"http://127.0.0.1:{an_unused_port}/"
79
canary_url = f"{url}favicon.ico"
80
- shutdown_url = f"{url}api/shutdown?token={a_token}"
81
82
wait_until_urlopen(canary_url)
83
@@ -87,8 +86,7 @@ def a_server(
87
86
88
# clean up after server is no longer needed
89
print(f"{a_server_cmd} shutting down...", flush=True)
90
- wait_until_urlopen(shutdown_url, data=[])
91
- server_proc.wait()
+ server_proc.terminate()
92
print(f"{a_server_cmd} is stopped", flush=True)
93
94
0 commit comments