-
Notifications
You must be signed in to change notification settings - Fork 42
[WIP]Test for kubevirt_rest_client_requests_total #1330
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
base: main
Are you sure you want to change the base?
[WIP]Test for kubevirt_rest_client_requests_total #1330
Conversation
test for kubevirt_rest_client_requests_total metric.
WalkthroughThe changes introduce a generic fixture for retrieving initial metric values, replacing a metric-specific fixture. A new Prometheus metric constant is added, and a corresponding test is introduced to validate this metric after VM deletion. Existing tests are refactored to use the new generic fixture and parameterization approach. Changes
Possibly related PRs
Suggested labels
Suggested reviewers
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (4)
🧰 Additional context used🧠 Learnings (4)📓 Common learnings
tests/observability/metrics/test_cdi_metrics.py (10)
tests/observability/metrics/test_vms_metrics.py (10)
tests/observability/metrics/conftest.py (11)
🧬 Code Graph Analysis (3)tests/observability/metrics/test_cdi_metrics.py (3)
tests/observability/metrics/test_vms_metrics.py (4)
tests/observability/metrics/conftest.py (2)
🪛 Pylint (3.3.7)tests/observability/metrics/test_vms_metrics.py[refactor] 600-600: Too few public methods (1/2) (R0903) ⏰ Context from checks skipped due to timeout of 90000ms (6)
🔇 Additional comments (5)
✨ Finishing Touches
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Report bugs in Issues Welcome! 🎉This pull request will be automatically processed with the following features: 🔄 Automatic Actions
📋 Available CommandsPR Status Management
Review & Approval
Testing & Validation
Container Operations
Cherry-pick Operations
Label Management
✅ Merge RequirementsThis PR will be automatically approved when the following conditions are met:
📊 Review ProcessApprovers and ReviewersApprovers:
Reviewers:
Available Labels
💡 Tips
For more information, please refer to the project documentation or contact the maintainers. |
D/S test |
Short description:
test for kubevirt_rest_client_requests_total metric.
More details:
What this PR does / why we need it:
Which issue(s) this PR fixes:
Special notes for reviewer:
jira-ticket:
https://issues.redhat.com/browse/CNV-54804
Summary by CodeRabbit
New Features
Refactor
Tests