Skip to content

Commit

Permalink
add Spark config
Browse files Browse the repository at this point in the history
  • Loading branch information
mikealfare committed Sep 22, 2023
1 parent 1ea46bc commit b9f9209
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions tests/functional/adapter/test_persist_test_results.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,16 @@
from dbt.tests.adapter.persist_test_results.basic import PersistTestResults


@pytest.mark.skip_profile("apache_spark", "spark_session")
class TestPersistTestResults(PersistTestResults):
@pytest.mark.skip_profile("spark_session", "apache_spark")
class TestPersistTestResultsDatabricks(PersistTestResults):
pass


@pytest.mark.skip_profile("spark_session", "databricks_cluster", "databricks_sql_endpoint")
class TestPersistTestResultsSpark(PersistTestResults):
@pytest.fixture(scope="class")
def project_config_update(self):
return {
"seeds": {"quote_columns": True},
"tests": {"+schema": self.audit_schema_suffix},
}

0 comments on commit b9f9209

Please sign in to comment.