Skip to content

Commit

Permalink
Skip inference/10_basic[0] (#72)
Browse files Browse the repository at this point in the history
  • Loading branch information
pquentin authored Jun 28, 2024
1 parent f3fc4fe commit ff1bc71
Showing 1 changed file with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,12 @@
"scroll/10_basic",
"security/10_api_key_basic",
}
SKIPPED_TESTS = {
# Timeouts with async client
# https://github.com/elastic/elasticsearch-serverless-python/issues/63
"cluster/cluster_info[0]",
"inference/10_basic[0]",
}


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

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

0 comments on commit ff1bc71

Please sign in to comment.