From f1e4183ef0fe5c37b83a1b5a4acf77fbc6788d89 Mon Sep 17 00:00:00 2001 From: Xiaoyong Zhu Date: Fri, 21 Jul 2023 01:34:26 +0800 Subject: [PATCH] Skip CosmosDB Test (#1207) --- feathr_project/test/test_azure_spark_e2e.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/feathr_project/test/test_azure_spark_e2e.py b/feathr_project/test/test_azure_spark_e2e.py index 16e73af16..10d3b1129 100644 --- a/feathr_project/test/test_azure_spark_e2e.py +++ b/feathr_project/test/test_azure_spark_e2e.py @@ -322,10 +322,11 @@ def test_feathr_get_offline_features_to_sql_with_token(): client.wait_job_to_finish(timeout_sec=Constants.SPARK_JOB_TIMEOUT_SECONDS) -@pytest.mark.skipif( - os.environ.get("SPARK_CONFIG__SPARK_CLUSTER") == "databricks", - reason="Due to package conflicts, the CosmosDB test doesn't work on databricks clusters, refer to https://github.com/feathr-ai/feathr/blob/main/docs/how-to-guides/jdbc-cosmos-notes.md#using-cosmosdb-as-the-online-store for more details", -) +# @pytest.mark.skipif( +# os.environ.get("SPARK_CONFIG__SPARK_CLUSTER") == "databricks", +# reason="Due to package conflicts, the CosmosDB test doesn't work on databricks clusters, refer to https://github.com/feathr-ai/feathr/blob/main/docs/how-to-guides/jdbc-cosmos-notes.md#using-cosmosdb-as-the-online-store for more details", +# ) +@pytest.mark.skip(reason="Marked as skipped as we need to setup resources for this test") def test_feathr_materialize_to_cosmosdb(): """ Test FeathrClient() CosmosDbSink.