opensearch-project / opensearch-build-libraries

Apache License 2.0
6 stars 25 forks source link

Fix grep bug in publishGradleCheckTestResults script #406

Closed rishabh6788 closed 6 months ago

rishabh6788 commented 6 months ago

Description

Fix bug related to grep expression in the script. Currently it will match all HTTP status codes including 404 which is not correct. It only needs to match 200 status to check if an index already exists.

Issues Resolved

List any issues this PR will resolve, e.g. Closes [...].

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.

codecov[bot] commented 6 months ago

Codecov Report

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

Project coverage is 87.12%. Comparing base (ec8ecde) to head (7093807).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #406 +/- ## ========================================= Coverage 87.12% 87.12% Complexity 31 31 ========================================= Files 88 88 Lines 233 233 Branches 12 12 ========================================= Hits 203 203 Misses 22 22 Partials 8 8 ```

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