From ad6cf1c5b4ab4c4ca72cd04f6ecb0c42b9b50a36 Mon Sep 17 00:00:00 2001 From: Jianzhun Du Date: Mon, 3 Jun 2024 11:02:01 -0700 Subject: [PATCH] fix --- .github/workflows/daily_modin_precommit.yml | 2 +- tests/integ/modin/frame/test_quantile.py | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/daily_modin_precommit.yml b/.github/workflows/daily_modin_precommit.yml index bcf1c8515c4..61cee85e5b7 100644 --- a/.github/workflows/daily_modin_precommit.yml +++ b/.github/workflows/daily_modin_precommit.yml @@ -268,7 +268,7 @@ jobs: env: PYTHON_VERSION: ${{ matrix.python-version }} cloud_provider: ${{ matrix.cloud-provider }} - PYTEST_ADDOPTS: --color=yes --tb=short --enable_cte_optimization --skip_sql_count_check + PYTEST_ADDOPTS: --color=yes --tb=short --enable_cte_optimization --skip_sql_count_check --ignore=tests/integ/modin/test_sql_counter.py TOX_PARALLEL_NO_SPINNER: 1 shell: bash - name: Combine coverages diff --git a/tests/integ/modin/frame/test_quantile.py b/tests/integ/modin/frame/test_quantile.py index 8d549d7dce0..2944da232ed 100644 --- a/tests/integ/modin/frame/test_quantile.py +++ b/tests/integ/modin/frame/test_quantile.py @@ -8,6 +8,7 @@ import pytest import snowflake.snowpark.modin.plugin # noqa: F401 +from tests.integ.modin.conftest import SKIP_SQL_COUNT_CHECK from tests.integ.modin.sql_counter import SqlCounter, sql_count_checker from tests.integ.modin.utils import create_test_dfs, eval_snowpark_pandas_result @@ -132,6 +133,7 @@ def test_quantile_datetime_negative(): @pytest.mark.xfail( + condition=not SKIP_SQL_COUNT_CHECK, reason="Bug in quantile emitting large amount of queries except for small data. TODO: SNOW-1229442", strict=True, )