Repository navigation
Split Celery integration tests to "celery" and "redis" - #39994
Conversation
620214d to
171046d
Compare
171046d to
d98d919
Compare
|
Hmmm. I am not sure (to be honest) how this would work ... But I think I have little clarity myself what I wanted to do there.. Question: could you explain in your words what this task is about :D ? Maybe we can get to common understanding :D |
I'll try to split it into two parts from my understanding:
I'd be happy if you could merge this one, and create a separate issue for the second part (if you think that it's still relevant and worth implementing). |
|
Ah... Now I know what the problem with my understanding was ... Actually the tests already supported both redis and rabbitmq by the very same parameterisation - so your change just organizes it a bit better by converting it in a map and extracting the constants. There are two tests only that use the The idea however was to run all the integration tests for celery in similar way - once with rabbitmq and once with redis. Likely by running two different integrations "celery-rabbitmq" , "celery-redis" - basically running the same tests. This would require to change the marker logic a BIT I think - because that is not currently possible/easy. |
Gotcha, I'll try to dig deeper into that |
b86b381 to
40ed016
Compare
40ed016 to
c724e96
Compare
|
@potiuk So eventually, I thought that it would be easier and more precise to make integration tests for |
c724e96 to
9954a2b
Compare
|
Good idea. ❤️ it. Just the descripton should be updated. |
9954a2b to
fbb30a6
Compare
Done :) |
fbb30a6 to
0be7f44
Compare
closes: #34032
This PR takes care of the following:
redisprovider into their own category, as it makes testing more precise and avoids unnecessary initialization of therabbitmqservice.redisandrabbitmq). If a broker exists as an independent provider that has its own integration tests, we could import the service from theintegration-<PROVIDER>.ymlinto theintegration-celery.ymlusing docker-compose extension mechanism.^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named
{pr_number}.significant.rstor{issue_number}.significant.rst, in newsfragments.