From b610664ec02796fdd766b8bd8e15945b5c8248c3 Mon Sep 17 00:00:00 2001 From: Mila Page Date: Tue, 25 Jun 2024 00:46:34 -0700 Subject: [PATCH] Dial in tests to reflect error messages from spark. --- tests/functional/adapter/dbt_show/test_dbt_show.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/functional/adapter/dbt_show/test_dbt_show.py b/tests/functional/adapter/dbt_show/test_dbt_show.py index d6b93d639..4cfface51 100644 --- a/tests/functional/adapter/dbt_show/test_dbt_show.py +++ b/tests/functional/adapter/dbt_show/test_dbt_show.py @@ -15,6 +15,8 @@ class TestSparkShowSqlHeader(BaseShowSqlHeader): pass -@pytest.mark.skip_profile("spark_session") +@pytest.mark.skip_profile("apache_spark", "spark_session") class TestSparkShowDoesNotHandleDoubleLimit(BaseShowDoesNotHandleDoubleLimit): - pass + """The syntax message is variable among clusters. However, limit is the problem for all.""" + + DATABASE_ERROR_MESSAGE = "limit"