mirror of
https://github.com/django/daphne.git
synced 2025-07-26 06:59:46 +03:00
Removed server process startup in multi-worker testing.
This commit is contained in:
parent
0a56c37834
commit
8599578411
|
@ -290,6 +290,5 @@ class DaphneTestCase(unittest.TestCase):
|
||||||
with DaphneTestingInstance() as test_app:
|
with DaphneTestingInstance() as test_app:
|
||||||
# Configure the server with 3 workers
|
# Configure the server with 3 workers
|
||||||
test_app.process.kwargs["workers"] = 3
|
test_app.process.kwargs["workers"] = 3
|
||||||
test_app.process.start()
|
|
||||||
# Verify that the server is running
|
# Verify that the server is running
|
||||||
self.assertTrue(test_app.process.ready.wait(test_app.startup_timeout))
|
self.assertTrue(test_app.process.ready.wait(test_app.startup_timeout))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user