Skip to content

Commit 1ba44a3

Browse files
committed
feat: skip more anomaly tests for clickhouse
1 parent d672f1c commit 1ba44a3

3 files changed

Lines changed: 8 additions & 0 deletions

File tree

integration_tests/tests/test_all_columns_anomalies.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,8 @@ def test_all_columns_anomalies_with_where_expression(
129129
}
130130

131131

132+
# Anomalies currently not supported on ClickHouse
133+
@pytest.mark.skip_targets(["clickhouse"])
132134
def test_anomalyless_all_columns_anomalies_all_monitors_sanity(
133135
test_id: str, dbt_project: DbtProject
134136
):

integration_tests/tests/test_dimension_anomalies.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ def get_latest_anomaly_test_points(dbt_project: DbtProject, test_id: str):
3131
return [json.loads(result["result_row"]) for result in results]
3232

3333

34+
# Anomalies currently not supported on ClickHouse
35+
@pytest.mark.skip_targets(["clickhouse"])
3436
def test_anomalyless_dimension_anomalies(test_id: str, dbt_project: DbtProject):
3537
utc_today = datetime.utcnow().date()
3638
data: List[Dict[str, Any]] = [
@@ -49,6 +51,8 @@ def test_anomalyless_dimension_anomalies(test_id: str, dbt_project: DbtProject):
4951
assert len(anomaly_test_points) == 0
5052

5153

54+
# Anomalies currently not supported on ClickHouse
55+
@pytest.mark.skip_targets(["clickhouse"])
5256
def test_dimension_anomalies_with_timestamp_as_sql_expression(
5357
test_id: str, dbt_project: DbtProject
5458
):

integration_tests/tests/test_freshness_anomalies.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,8 @@ def test_faster_rate(
201201
assert result["status"] == "pass"
202202

203203

204+
# Anomalies currently not supported on ClickHouse
205+
@pytest.mark.skip_targets(["clickhouse"])
204206
def test_first_metric_null(test_id, dbt_project: DbtProject):
205207
config = dict(
206208
timestamp_column=TIMESTAMP_COLUMN,

0 commit comments

Comments
 (0)