Skip to content

Commit ff1bc71

Browse files
authored
Skip inference/10_basic[0] (#72)
1 parent f3fc4fe commit ff1bc71

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

test_elasticsearch_serverless/test_server/test_rest_api_spec.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,12 @@
108108
"scroll/10_basic",
109109
"security/10_api_key_basic",
110110
}
111+
SKIPPED_TESTS = {
112+
# Timeouts with async client
113+
# https://github.com/elastic/elasticsearch-serverless-python/issues/63
114+
"cluster/cluster_info[0]",
115+
"inference/10_basic[0]",
116+
}
111117

112118

113119
XPACK_FEATURES = None
@@ -572,8 +578,7 @@ def remove_implicit_resolver(cls, tag_to_remove):
572578
# Skip either 'test_name' or 'test_name[x]'
573579
if pytest_test_name in FAILING_TESTS or pytest_param_id in FAILING_TESTS:
574580
pytest_param["fail"] = True
575-
# https://github.com/elastic/elasticsearch-serverless-python/issues/63
576-
elif pytest_param_id == "cluster/cluster_info[0]":
581+
elif pytest_test_name in SKIPPED_TESTS or pytest_param_id in SKIPPED_TESTS:
577582
pytest_param["skip"] = True
578583

579584
YAML_TEST_SPECS.append(pytest.param(pytest_param, id=pytest_param_id))

0 commit comments

Comments
 (0)