Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "Fix flaky test_get_dags in FastAPI routes" #43108

Merged
merged 1 commit into from
Oct 17, 2024

Conversation

pierrejeambrun
Copy link
Member

@pierrejeambrun pierrejeambrun commented Oct 17, 2024

Reverts #43100

This should be reverted because:

  • Order actually matters, especially when we are testing order_by query parameters. (The returned items must follow the queried order)
  • This is not specific to the get_dags endpoints but any endpoint returning a list, because the database natural order is not guarantee. (based on insertion etc, etc,). This happens in case of equality on the first order_by criteria.

A fix is already opened here #43085. It was there in the first place but got removed by mistake in a recent PR (yesterday or the day before that). To my knowledge we didn't have any issue reported before that.

@kaxil
Copy link
Member

kaxil commented Oct 17, 2024

Damn -- missed the order_by's

@kaxil kaxil merged commit 7abc289 into main Oct 17, 2024
51 checks passed
@kaxil kaxil deleted the revert-43100-fix-flaky-test branch October 17, 2024 10:07
@potiuk
Copy link
Member

potiuk commented Oct 17, 2024

Damn...

R7L208 pushed a commit to R7L208/airflow that referenced this pull request Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants