opensearch-project / opensearch-py

Python Client for OpenSearch
https://opensearch.org/docs/latest/clients/python/
Apache License 2.0
338 stars 170 forks source link

[BUG] REST API Test 50_noop_update fails #653

Closed macohen closed 8 months ago

macohen commented 8 months ago

What is the bug?

The test OpenSearch-main/rest-api-spec/src/main/resources/rest-api-spec/test/indices/stats/50_noop_update[0] fails on the main and 2.0 workflows in GH actions

How can one reproduce the bug?

  1. Comment the line "OpenSearch-main/rest-api-spec/src/main/resources/rest-api-spec/test/indices/stats/50_noop_update[0]", in opensearch-py/test_opensearchpy/test_server/test_rest_api_spec.py/
  2. Run ./.ci/run-tests or push a draft PR to GH to kick off the action

What is the expected behavior?

All tests succeed

What is your host/environment?

Amazon Linux 2

Do you have any screenshots?

N/A

dblock commented 8 months ago

As part of this, let's take a look at SKIP_TESTS and get rid of it. There's no reason why YAML tests should be failing.