Skip to content

Commit 4863795

Browse files
authored
Fix CI by skipping test (#93)
1 parent d8dd3b9 commit 4863795

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ packages = ["elasticsearch_serverless"]
101101
junit_family = "legacy"
102102
xfail_strict = true
103103
markers = "otel"
104+
asyncio_default_fixture_loop_scope = "function"
104105

105106
[tool.isort]
106107
profile = "black"

test_elasticsearch_serverless/test_server/test_rest_api_spec.py

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -94,14 +94,6 @@
9494
"cluster/component_templates",
9595
# TODO: expecting `ct_field` field mapping to be returned, but instead only finds `field`
9696
"indices/simulate_template",
97-
# Fixed by https://github.com/elastic/elasticsearch-clients-tests/pull/56
98-
"cat/aliases",
99-
"cat/component_templates",
100-
"cat/count",
101-
"cat/help",
102-
"cat/indices",
103-
"cat/ml",
104-
"cat/transform",
10597
# TODO: Not investigated yet
10698
"indices/settings",
10799
"logstash/10_basic",
@@ -110,10 +102,11 @@
110102
"machine_learning/jobs_crud[0]",
111103
}
112104
SKIPPED_TESTS = {
113-
# Timeouts with async client
105+
# Timeouts
114106
# https://github.com/elastic/elasticsearch-serverless-python/issues/63
115107
"cluster/cluster_info[0]",
116108
"inference/10_basic[0]",
109+
"machine_learning/20_trained_model_serverless[0]",
117110
}
118111

119112

0 commit comments

Comments
 (0)