exp: use individual q for timeout dependent tests

This commit is contained in:
Peter Rowlands
2023-03-23 19:18:52 +09:00
committed by Peter Rowlands (변기호)
parent cd2c4d0caf
commit f8bbf20b77
@@ -49,10 +49,10 @@ def test_shutdown_with_kill(test_queue, mocker):
)
def test_post_run_after_kill(session_queue):
def test_post_run_after_kill(test_queue):
from celery import chain
sig_bar = session_queue.proc.run_signature(
sig_bar = test_queue.proc.run_signature(
["python3", "-c", "import time; time.sleep(10)"], name="bar"
)
sig_bar.freeze()
@@ -65,7 +65,7 @@ def test_post_run_after_kill(session_queue):
while True:
try:
session_queue.proc.kill("bar")
test_queue.proc.kill("bar")
assert result_foo.status == "PENDING"
break
except ProcessLookupError: