Skip to content

Commit

Permalink
Add missing param to os.waitpid call
Browse files Browse the repository at this point in the history
Signed-off-by: Ronan Abhamon <[email protected]>
  • Loading branch information
Wescoeur committed Mar 22, 2023
1 parent 1917911 commit 3a7fdd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def kill_server(server):
if server:
try:
os.killpg(os.getpgid(server.pid), signal.SIGTERM)
os.waitpid(server.pid)
os.waitpid(server.pid, 0)
except Exception as e:
print('Failed to kill: `{}`.'.format(e))

Expand Down

0 comments on commit 3a7fdd1

Please sign in to comment.