tests: Use asyncio to wait for nghttpd to start

Seems like the tests may fail because we don't wait for nghttpd (the
HTTP2 server used for testing) to actually start listening.
This commit uses asyncio to launch nghttpd and read its stdout until it
starts listening.
This commit is contained in:
lwthiker
2022-04-30 13:58:11 +03:00
parent d0c5777420
commit ea63973256
3 changed files with 71 additions and 26 deletions
+1
View File
@@ -1,3 +1,4 @@
pyyaml
pytest
pytest-asyncio
dpkt