opensearch-project / OpenSearch

🔎 Open source distributed and RESTful search engine.
https://opensearch.org/docs/latest/opensearch/index/
Apache License 2.0
8.89k stars 1.63k forks source link

Add code coverage tests for New Index creation in PrimaryShardBatchAl… #13733

Open Pranshu-S opened 2 weeks ago

Pranshu-S commented 2 weeks ago

…locator

Description

Adds Coverage tests for new Index Creation scenarios for PrimaryShardBatchAllocator

Check List

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.

github-actions[bot] commented 2 weeks ago

:x: Gradle check result for 8139e641e5775e6adf4c5480a0b3d8e21da9557c: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

github-actions[bot] commented 2 weeks ago

:grey_exclamation: Gradle check result for 5e636dc91ee122a327586f0e4c5242a88052ef35: UNSTABLE

Please review all flaky tests that succeeded after retry and create an issue if one does not already exist to track the flaky failure.

codecov[bot] commented 2 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 71.56%. Comparing base (b15cb0c) to head (5e636dc). Report is 289 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #13733 +/- ## ============================================ + Coverage 71.42% 71.56% +0.14% - Complexity 59978 61264 +1286 ============================================ Files 4985 5060 +75 Lines 282275 287854 +5579 Branches 40946 41689 +743 ============================================ + Hits 201603 205994 +4391 - Misses 63999 64832 +833 - Partials 16673 17028 +355 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

prudhvigodithi commented 1 week ago

Hey, If the Gradle check fails with error No such property: post_merge_action, please merge/rebase the PR from upstream to ensure the post_merge_action field is part of the Gradle check setup. More details in the PR 13786.