mirror of https://github.com/celery/kombu.git
Fixed flaky integration test: test_publish_requeue_consume() (#2048)
This commit is contained in:
parent
5218099cb1
commit
35a5f0a6cf
|
@ -410,6 +410,8 @@ class BasePriority:
|
||||||
serializer='pickle',
|
serializer='pickle',
|
||||||
priority=prio_max
|
priority=prio_max
|
||||||
)
|
)
|
||||||
|
# Sleep to make sure that queue sorted based on priority
|
||||||
|
sleep(0.5)
|
||||||
|
|
||||||
with consumer:
|
with consumer:
|
||||||
conn.drain_events(timeout=1)
|
conn.drain_events(timeout=1)
|
||||||
|
|
Loading…
Reference in New Issue