diff --git a/tests/integ/modin/test_apply_snowpark_python_functions.py b/tests/integ/modin/test_apply_snowpark_python_functions.py index 8a2c214cea7..61982714380 100644 --- a/tests/integ/modin/test_apply_snowpark_python_functions.py +++ b/tests/integ/modin/test_apply_snowpark_python_functions.py @@ -11,6 +11,7 @@ from tests.integ.modin.utils import assert_frame_equal, assert_series_equal from tests.integ.utils.sql_counter import sql_count_checker, SqlCounter +from tests.utils import running_on_jenkins @sql_count_checker(query_count=4) @@ -71,6 +72,10 @@ def test_apply_snowpark_python_function_not_implemented(): pd.DataFrame({"a": [1, 2, 3]}).apply(asc, args=(1, 2)) +@pytest.mark.skipif( + running_on_jenkins(), + reason="TODO: SNOW-1859087 snowflake.cortex.summarize SSL error", +) def test_apply_snowflake_cortex_summarize(session): from snowflake.snowpark.functions import snowflake_cortex_summarize @@ -95,6 +100,10 @@ def test_apply_snowflake_cortex_summarize(session): assert 0 < len(summary) < len(content) +@pytest.mark.skipif( + running_on_jenkins(), + reason="TODO: SNOW-1859087 snowflake.cortex.sentiment SSL error", +) def test_apply_snowflake_cortex_sentiment(session): from snowflake.snowpark.functions import snowflake_cortex_sentiment diff --git a/tests/integ/test_function.py b/tests/integ/test_function.py index a67d3207199..05d912fc0ce 100644 --- a/tests/integ/test_function.py +++ b/tests/integ/test_function.py @@ -175,7 +175,7 @@ TimestampType, VariantType, ) -from tests.utils import TestData, Utils +from tests.utils import TestData, Utils, running_on_jenkins def test_order(session): @@ -2273,6 +2273,10 @@ def test_ln(session): "config.getoption('local_testing_mode', default=False)", reason="FEAT: snowflake_cortex functions not supported", ) +@pytest.mark.skipif( + running_on_jenkins(), + reason="TODO: SNOW-1859087 snowflake.cortex.summarize SSL error", +) def test_snowflake_cortex_summarize(session): # TODO: SNOW-1758914 snowflake.cortex.summarize error on GCP if session.connection.host == "sfctest0.us-central1.gcp.snowflakecomputing.com": @@ -2312,7 +2316,11 @@ def test_snowflake_cortex_summarize(session): "config.getoption('local_testing_mode', default=False)", reason="FEAT: snowflake_cortex functions not supported", ) -def test_apply_snowflake_cortex_sentiment(session): +@pytest.mark.skipif( + running_on_jenkins(), + reason="TODO: SNOW-1859087 snowflake.cortex.sentiment SSL error", +) +def test_snowflake_cortex_sentiment(session): # TODO: SNOW-1758914 snowflake.cortex.sentiment error on GCP if session.connection.host == "sfctest0.us-central1.gcp.snowflakecomputing.com": return