We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e95fe0a commit b475ff0Copy full SHA for b475ff0
src/databricks/labs/ucx/mixins/fixtures.py
@@ -810,9 +810,8 @@ def remove(table_info: TableInfo):
810
except RuntimeError as e:
811
if "Cannot drop a view" in str(e):
812
sql_backend.execute(f"DROP VIEW IF EXISTS {table_info.full_name}")
813
- if "SCHEMA_NOT_FOUND" in str(e):
+ elif "SCHEMA_NOT_FOUND" in str(e):
814
logger.warning("Schema was already dropped while executing the test", exc_info=e)
815
- pass
816
else:
817
raise e
818
0 commit comments