Skip to content

Conversation

@bugraoz93
Copy link
Contributor

@bugraoz93 bugraoz93 commented Aug 10, 2024

Related: #41067
Fixing remaining Variable tests for db isolation mode or skipping the ones which aren't working with internal_api.
It also includes a small fix for KubernetesJobOperator tests, I forgot to pass the session in the previous fix.

Edit:

  • From the checks, I can see there are side effects. I will check them tomorrow.
  • I checked and reverted the part concerning secret_backend and fixed some failing things. Updated the PR content.
  • Reverted the setDefault to internal_api, strangely it failed random lowest dependency tests even though they are fine in the local. Updated the PR content.

^ 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.

…cret backend haven't called from EnvironmentVariablesBackend, Metastore and custom ones. This caused side effect to move the Variable.get() method to internal API
…cret backend haven't called from EnvironmentVariablesBackend, Metastore and custom ones
@boring-cyborg boring-cyborg bot added area:providers area:secrets provider:cncf-kubernetes Kubernetes (k8s) provider related issues labels Aug 10, 2024
@bugraoz93 bugraoz93 changed the title Fix Variable and KubernetesJobOperator Tests for Database Isolation Fix Variable and KubernetesJobOperator Tests for Database Isolation Tests Aug 10, 2024
@potiuk potiuk merged commit c98d1a1 into apache:main Aug 11, 2024
@potiuk potiuk modified the milestones: Airflow 2.10.0, Airflow 2.10.1 Aug 11, 2024
potiuk pushed a commit that referenced this pull request Aug 11, 2024
…ests (#41370)

Fixing remaining Variable tests for db isolation mode, also fixing secret backend haven't called from EnvironmentVariablesBackend, Metastore and custom ones. This caused side effect to move the Variable.get() method to internal API

(cherry picked from commit c98d1a1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:providers area:secrets provider:cncf-kubernetes Kubernetes (k8s) provider related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants