Skip to content

Conversation

@potiuk
Copy link
Member

@potiuk potiuk commented Nov 4, 2023

This test aimed to make sure that we add tests when we add modules ...

But it seems it's been broken for a while and generally it expected no tests at all and never complained (Who tests the tests?)

The root cause was generous (pun intended) use of generators - simply speaking when generator gets iterated over, the second time it gets iterated, it returns ... nothing ...

These list are not really huge so using generators here has been largely premature optmisation that makes it also difficult to debug, for now I converted it to use lists - debugging of lists is way easier too.

We have the list of tests now that we should add and they are captured in the issue #35442


^ 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.rst or {issue_number}.significant.rst, in newsfragments.

This test aimed to make sure that we add tests when we add modules ...

But it seems it's been broken for a while and generally it expected
no tests at all and never complained (Who tests the tests?)

The root cause was generous (pun intended) use of generators - simply
speaking when generator gets iterated over, the second time it
gets iterated, it returns ... nothing ...

These list are not really huge so using generators here has been largely
premature optmisation that makes it also difficult to debug, for now
I converted it to use lists - debugging of lists is way easier too.

We have the list of tests now that we should add and they are captured
in the issue apache#35442
@potiuk potiuk requested a review from eladkal November 4, 2023 19:10
@eladkal eladkal merged commit a567652 into apache:main Nov 4, 2023
@Taragolis
Copy link
Contributor

But it seems it's been broken for a while

Yeah, for a long time: #28459 (comment)

romsharon98 pushed a commit to romsharon98/airflow that referenced this pull request Nov 10, 2023
…#35443)

This test aimed to make sure that we add tests when we add modules ...

But it seems it's been broken for a while and generally it expected
no tests at all and never complained (Who tests the tests?)

The root cause was generous (pun intended) use of generators - simply
speaking when generator gets iterated over, the second time it
gets iterated, it returns ... nothing ...

These list are not really huge so using generators here has been largely
premature optmisation that makes it also difficult to debug, for now
I converted it to use lists - debugging of lists is way easier too.

We have the list of tests now that we should add and they are captured
in the issue apache#35442
@potiuk potiuk deleted the fix-and-disable-test-to-see-if-we-have-all-tests branch November 17, 2023 16:05
@ephraimbuddy ephraimbuddy added the changelog:skip Changes that should be skipped from the changelog (CI, tests, etc..) label Nov 20, 2023
@ephraimbuddy ephraimbuddy added this to the Airflow 2.8.0 milestone Nov 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog:skip Changes that should be skipped from the changelog (CI, tests, etc..)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants