Skip to content

Commit 696fa2a

Browse files
A workaround for issue #565 (#566)
* A workaround for issue #565 This change allows the tests to run multiple times without leaving processes behind or leaving port 8000 open. * Revert "A workaround for issue #565" This reverts commit 11eab74. * Fix #565 Co-authored-by: Sam Bull <[email protected]> --------- Co-authored-by: Sam Bull <[email protected]>
1 parent a9bc32f commit 696fa2a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/test_runserver_main.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ async def check_callback(session):
8383
finally:
8484
for shutdown in aux_app.on_shutdown:
8585
loop.run_until_complete(shutdown(aux_app))
86+
loop.run_until_complete(aux_app.cleanup())
8687
assert (
8788
'adev.server.dft INFO: Starting aux server at http://localhost:8001 ◆\n'
8889
'adev.server.dft INFO: serving static files from ./static_dir/ at http://localhost:8001/static/\n'

0 commit comments

Comments
 (0)