-
Notifications
You must be signed in to change notification settings - Fork 53
Add test coverage to validate the functionality of the get_cluster function #775
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
Add test coverage to validate the functionality of the get_cluster function #775
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #775 +/- ##
=======================================
Coverage 93.04% 93.04%
=======================================
Files 36 36
Lines 2402 2402
=======================================
Hits 2235 2235
Misses 167 167 ☔ View full report in Codecov by Sentry. |
a12bb00
to
c955fe0
Compare
60b07f8
to
6ecaa99
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I ran the tests, and everything is working as expected.
6ecaa99
to
de24c11
Compare
de24c11
to
3e69aee
Compare
Going to test this when my cluster is up and after the above is resolved I would be happy to merge 👍 |
3e69aee
to
0b8f68a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Bobbins228, jiripetrlik, Ygnas The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
e666e0a
into
project-codeflare:main
Issue link
https://issues.redhat.com/browse/RHOAIENG-16104
What changes have been made
Added the test scenarios for get_cluster function to fetch cluster details and job submission
Verification steps
Testing
Run the tests mnist_raycluster_sdk_oauth_test and mnist_raycluster_sdk_kind_test.py by cloning this branch and verify newly added tests scenarios are validating correctly
poetry run pytest -v -s ./tests/e2e/mnist_raycluster_sdk_oauth_test.py
Checks