Skip to content

Commit

Permalink
Skip CosmosDB Test (#1207)
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoyongzhu committed Jul 20, 2023
1 parent 3f1053f commit f1e4183
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions feathr_project/test/test_azure_spark_e2e.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit f1e4183

Please sign in to comment.