阅读背景:

为什么Celery任务测试结果不一致?

来源:互联网 

I've written two simple integration tests for two Celery tasks but when I run them I get inconsistent results. I can run them one minute and one or both will pass and then run them a couple of seconds and one or both of them will fail. Why are these results inconsistent from one test run to the next? Also, are these tests actually testing that the Celery task is being sent to a queue and executed by a worker?I've written two simple integration tests for t




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: