diff --git a/tests/functional/adapter/test_constraints.py b/tests/functional/adapter/test_constraints.py index 41b50ef81..654bbdb5f 100644 --- a/tests/functional/adapter/test_constraints.py +++ b/tests/functional/adapter/test_constraints.py @@ -358,6 +358,17 @@ def models(self): "constraints_schema.yml": constraints_yml, } + @pytest.mark.skip( + "Databricks now raises an exception, which gets raised prior to the `expected_pass` check." + "See https://github.com/dbt-labs/dbt-spark/issues/1009" + ) + def test__constraints_enforcement_rollback( + self, project, expected_color, expected_error_messages, null_model_sql + ): + super().test__constraints_enforcement_rollback( + project, expected_color, expected_error_messages, null_model_sql + ) + # TODO: Like the tests above, this does test that model-level constraints don't # result in errors, but it does not verify that they are actually present in diff --git a/tests/functional/adapter/test_python_model.py b/tests/functional/adapter/test_python_model.py index 1195cbd3e..05e25c5f4 100644 --- a/tests/functional/adapter/test_python_model.py +++ b/tests/functional/adapter/test_python_model.py @@ -24,6 +24,13 @@ class TestPythonIncrementalModelSpark(BasePythonIncrementalTests): def project_config_update(self): return {} + @pytest.mark.skip( + "Databricks can't find the transaction log" + "See https://github.com/dbt-labs/dbt-spark/issues/1033" + ) + def test_incremental(self, project): + super().test_incremental(project) + models__simple_python_model = """ import pandas