MCPcopy Create free account
hub / github.com/It4innovations/hyperqueue / test_stop_server

Function test_stop_server

tests/pyapi/binding/test_server.py:6–11  ·  view source on GitHub ↗
(hq_env: HqEnv)

Source from the content-addressed store, hash-verified

4
5
6def test_stop_server(hq_env: HqEnv):
7 process = hq_env.start_server()
8 connection = ClientConnection(hq_env.server_dir)
9 connection.stop_server()
10 process.wait(timeout=5)
11 hq_env.check_process_exited(process)

Callers

nothing calls this directly

Calls 5

stop_serverMethod · 0.95
ClientConnectionClass · 0.90
waitMethod · 0.80
check_process_exitedMethod · 0.80
start_serverMethod · 0.45

Tested by

no test coverage detected