How to enable test connection button in Airflow in v2.7.1

229 Views Asked by At

Test connection button is disabled in Airflow because I am using 2.7 + version. How to enable it?

I am not sure of steps. Please guide. Also I have installed Airflow with Kubernetes helm chart. Not sure where I need to make change?

1

There are 1 best solutions below

0
Elad Kalif On BEST ANSWER

The button is clickable only for Providers (hooks) that support it. Meaning that the hook needs to implement the test_connection function which allows the functionality.

In cases where the button is not available you can test the connection works by simply using it. Invoke a simple DAG that uses the connection.