Skip to content

Conversation

@ephraimbuddy
Copy link
Contributor

@ephraimbuddy ephraimbuddy commented Jul 30, 2021

This change fixes the failing test on MSSQL by disposing and creating a new connection
so as to use the new connection to make queries.

Also, timeouts on process join was removed because it's flaky

Closes: #17326


^ Add meaningful description above

Read the Pull Request Guidelines for more information.
In case of fundamental code change, 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 UPDATING.md.

This change fixes the failing test on MSSQL by disposing and creating a new connection
so as to use the new connection to make queries
@boring-cyborg boring-cyborg bot added the area:Scheduler including HA (high availability) scheduler label Jul 30, 2021
@potiuk
Copy link
Member

potiuk commented Jul 30, 2021

Flaky tests failure (and static check fixed elsewehere ) but looks good to me.

@github-actions
Copy link

The PR most likely needs to run full matrix of tests because it modifies parts of the core of Airflow. However, committers might decide to merge it quickly and take the risk. If they don't merge it quickly - please rebase it to the latest main at your convenience, or amend the last commit of the PR, and push it with --force-with-lease.

@github-actions github-actions bot added the full tests needed We need to run full set of tests for this PR to merge label Jul 30, 2021
@potiuk
Copy link
Member

potiuk commented Jul 30, 2021

🤞

@ephraimbuddy
Copy link
Contributor Author

One failing test but that's on schedulerJob and I have seen it fail in some other PRs. Maybe we should quarantine it ...

@potiuk
Copy link
Member

potiuk commented Jul 30, 2021

Have not seen that one before but looks like prone to races :D

@ephraimbuddy
Copy link
Contributor Author

Have not seen that one before but looks like prone to races :D

Probably,...I will merge this and watch the scheduler test in other PRs

@ephraimbuddy ephraimbuddy merged commit 7bff44f into apache:main Jul 30, 2021
@ephraimbuddy ephraimbuddy deleted the fix-mssql-test branch July 30, 2021 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:Scheduler including HA (high availability) scheduler full tests needed We need to run full set of tests for this PR to merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TestLocalTaskJob.test_mark_success_no_kill fails consistently on MSSQL

2 participants