unit test issues with postgres after upgrading to 2.0 and then downgrading to 1.10.14 #13218
Answered
by
potiuk
meltedhead
asked this question in
Q&A
-
I'm still getting a failure with some tests that were previously working. This is linked ot my previous post which has been resolved for most of my tests. Postgres operator tests won't run. linked to previous post #13204
|
Beta Was this translation helpful? Give feedback.
Answered by
potiuk
Dec 21, 2020
Replies: 1 comment
-
You likely have to remove and recreate an existing sqlite database. Airlfow stores SQlite databases in ${AIRFLOW_HOME} or ${HOME}/airflow if AIRFLOW_HOME is not defined. when running tests. Simply wipe that directory out before running tests. That should help. This is an sqlite test that is failing not postgres one:
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
potiuk
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You likely have to remove and recreate an existing sqlite database. Airlfow stores SQlite databases in ${AIRFLOW_HOME} or ${HOME}/airflow if AIRFLOW_HOME is not defined. when running tests. Simply wipe that directory out before running tests. That should help.
This is an sqlite test that is failing not postgres one: