Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added index tests and fixed /index/_dangling. #391

Merged
merged 12 commits into from
Jul 10, 2024

Conversation

dblock
Copy link
Member

@dblock dblock commented Jul 9, 2024

Description

Added index tests. All except stats which needs schema work.

Fixed /{index}/_dangling that can return nodes and cluster_name.

Upgraded tests to use OpenSearch 2.15 because /{index}/_forcemerge with primary_only was added in OpenSearch 2.13.

Found a bug in the documentation doing this, opensearch-project/documentation-website#7657.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

dblock added 10 commits July 9, 2024 11:08
Signed-off-by: dblock <dblock@amazon.com>
Signed-off-by: dblock <dblock@amazon.com>
Signed-off-by: dblock <dblock@amazon.com>
Signed-off-by: dblock <dblock@amazon.com>
Signed-off-by: dblock <dblock@amazon.com>
Signed-off-by: dblock <dblock@amazon.com>
Signed-off-by: dblock <dblock@amazon.com>
Signed-off-by: dblock <dblock@amazon.com>
Signed-off-by: dblock <dblock@amazon.com>
Signed-off-by: dblock <dblock@amazon.com>
Copy link
Contributor

github-actions bot commented Jul 9, 2024

Changes Analysis

Commit SHA: 71256f3
Comparing To SHA: ba3d715

API Changes

Summary

└─┬Paths
  └─┬/_dangling
    └─┬GET
      └─┬Responses
        └─┬200
          └─┬application/json
            └─┬Schema
              ├──[➕] properties (23659:15)
              └──[➕] properties (23661:15)

Document Element Total Changes Breaking Changes
paths 2 0
  • Total Changes: 2
  • Additions: 2

Report

The full API changes report is available at: https://github.com/opensearch-project/opensearch-api-specification/actions/runs/9861391199/artifacts/1683174817

API Coverage

Before After Δ
Covered (%) 483 (47.31 %) 483 (47.31 %) 0 (0 %)
Uncovered (%) 538 (52.69 %) 538 (52.69 %) 0 (0 %)
Unknown 24 24 0

@dblock dblock changed the title Added index tests. Added index tests and fixed /index/_dangling. Jul 9, 2024
Signed-off-by: dblock <dblock@amazon.com>
@Xtansia Xtansia merged commit 266837e into opensearch-project:main Jul 10, 2024
10 checks passed
@dblock dblock deleted the index-tests branch July 10, 2024 13:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants