Skip to content

Commit 4741e21

Browse files
Fixed start_shutdown test (#872)
1 parent 929c6c7 commit 4741e21

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_server.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -276,13 +276,13 @@ def test_start_after_shutting_down_server():
276276
remote_server = start_local_server(
277277
config=dpf.core.AvailableServerConfigs.GrpcServer, as_global=False
278278
)
279-
shutdown_all_session_servers()
279+
remote_server.shutdown()
280280

281281
time.sleep(2.0)
282282

283283
remote_server = start_local_server(
284284
config=dpf.core.AvailableServerConfigs.GrpcServer, as_global=False
285285
)
286286
info = remote_server.info
287-
shutdown_all_session_servers()
287+
remote_server.shutdown()
288288
assert info is not None

0 commit comments

Comments
 (0)