diff --git a/pyproject.toml b/pyproject.toml index ac5a492..8dd9594 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -101,6 +101,7 @@ packages = ["elasticsearch_serverless"] junit_family = "legacy" xfail_strict = true markers = "otel" +asyncio_default_fixture_loop_scope = "function" [tool.isort] profile = "black" diff --git a/test_elasticsearch_serverless/test_server/test_rest_api_spec.py b/test_elasticsearch_serverless/test_server/test_rest_api_spec.py index 35969da..1918532 100644 --- a/test_elasticsearch_serverless/test_server/test_rest_api_spec.py +++ b/test_elasticsearch_serverless/test_server/test_rest_api_spec.py @@ -94,14 +94,6 @@ "cluster/component_templates", # TODO: expecting `ct_field` field mapping to be returned, but instead only finds `field` "indices/simulate_template", - # Fixed by https://github.com/elastic/elasticsearch-clients-tests/pull/56 - "cat/aliases", - "cat/component_templates", - "cat/count", - "cat/help", - "cat/indices", - "cat/ml", - "cat/transform", # TODO: Not investigated yet "indices/settings", "logstash/10_basic", @@ -110,10 +102,11 @@ "machine_learning/jobs_crud[0]", } SKIPPED_TESTS = { - # Timeouts with async client + # Timeouts # https://github.com/elastic/elasticsearch-serverless-python/issues/63 "cluster/cluster_info[0]", "inference/10_basic[0]", + "machine_learning/20_trained_model_serverless[0]", }