OT-CONTAINER-KIT / redis-operator

A golang based redis operator that will make/oversee Redis standalone/cluster/replication/sentinel mode setup on top of the Kubernetes.
https://ot-redis-operator.netlify.app/
Apache License 2.0
734 stars 207 forks source link

test: Cover func updatestatefulset #863

Closed k3mahesh closed 2 months ago

k3mahesh commented 3 months ago

Tests for updatestatefulset functions

codecov[bot] commented 2 months ago

Codecov Report

Attention: Patch coverage is 50.00000% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 39.03%. Comparing base (d121d86) to head (010543a). Report is 23 commits behind head on master.

:exclamation: Current head 010543a differs from pull request most recent head 81a4a70. Consider uploading reports for the commit 81a4a70 to get more accurate results

Files Patch % Lines
k8sutils/statefulset.go 50.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #863 +/- ## ========================================== + Coverage 35.20% 39.03% +3.83% ========================================== Files 19 19 Lines 3213 2631 -582 ========================================== - Hits 1131 1027 -104 + Misses 2015 1535 -480 - Partials 67 69 +2 ```

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