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

fix: TOOLS-2996 ns SC check for manage roster stage observed #331

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

a-spiker
Copy link
Contributor

Added the following check before running

  • manage roster stage observed ns test

namespace should exist and namespace should be SC enabled.

@a-spiker a-spiker changed the title fix: ns SC check for manage roster stage observed fix: TOOLS-2996 ns SC check for manage roster stage observed Jan 20, 2025
- check if ns is SC
- catches exception while SC check
- fix the existing test cases for new SC check
@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 61.53846% with 15 lines in your changes missing coverage. Please review.

Project coverage is 68.53%. Comparing base (01100e8) to head (a163da5).

Files with missing lines Patch % Lines
lib/live_cluster/manage_controller.py 58.33% 15 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##           master     #331   +/-   ##
=======================================
  Coverage   68.53%   68.53%           
=======================================
  Files          92       92           
  Lines       21226    21261   +35     
=======================================
+ Hits        14547    14571   +24     
- Misses       6679     6690   +11     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@a-spiker
Copy link
Contributor Author

removed the string check for unstable cluster and generalised the errors to proceed further in roster management.

@a-spiker a-spiker marked this pull request as ready for review January 23, 2025 13:55
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