generated from RedHatQE/python-template-repository
-
Notifications
You must be signed in to change notification settings - Fork 8
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 kserve private endpoint tests #22
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Signed-off-by: lugi0 <[email protected]>
for more information, see https://pre-commit.ci
Signed-off-by: lugi0 <[email protected]>
for more information, see https://pre-commit.ci
…tion, specify in README that pre-commit shoulb be run and needs NPM installed Signed-off-by: lugi0 <[email protected]>
Signed-off-by: lugi0 <[email protected]>
lugi0
commented
Oct 23, 2024
mwaykole
reviewed
Oct 23, 2024
mwaykole
reviewed
Oct 23, 2024
mwaykole
reviewed
Oct 23, 2024
mwaykole
reviewed
Oct 23, 2024
mwaykole
reviewed
Oct 23, 2024
tests/model_serving/model_server/private_endpoint/test_kserve_private_endpoint.py
Outdated
Show resolved
Hide resolved
mwaykole
reviewed
Oct 23, 2024
rnetser
requested changes
Oct 25, 2024
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/astral-sh/ruff-pre-commit: v0.7.0 → v0.7.1](astral-sh/ruff-pre-commit@v0.7.0...v0.7.1) - [github.com/renovatebot/pre-commit-hooks: 38.129.0 → 38.133.1](renovatebot/pre-commit-hooks@38.129.0...38.133.1) - [github.com/gitleaks/gitleaks: v8.21.1 → v8.21.2](gitleaks/gitleaks@v8.21.1...v8.21.2) - [github.com/pre-commit/mirrors-mypy: v1.12.1 → v1.13.0](pre-commit/mirrors-mypy@v1.12.1...v1.13.0) * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
updates: - [github.com/astral-sh/ruff-pre-commit: v0.7.1 → v0.7.2](astral-sh/ruff-pre-commit@v0.7.1...v0.7.2) - [github.com/renovatebot/pre-commit-hooks: 38.133.1 → 39.0.0](renovatebot/pre-commit-hooks@38.133.1...39.0.0) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: lugi0 <[email protected]>
…tion, specify in README that pre-commit shoulb be run and needs NPM installed Signed-off-by: lugi0 <[email protected]>
…TING.MD Signed-off-by: lugi0 <[email protected]>
Signed-off-by: lugi0 <[email protected]>
Signed-off-by: lugi0 <[email protected]>
rnetser
requested changes
Nov 25, 2024
Signed-off-by: lugi0 <[email protected]>
rnetser
previously approved these changes
Nov 25, 2024
adolfo-ab
reviewed
Nov 26, 2024
tests/model_serving/model_server/private_endpoint/test_kserve_private_endpoint.py
Show resolved
Hide resolved
tests/model_serving/model_server/private_endpoint/test_kserve_private_endpoint.py
Outdated
Show resolved
Hide resolved
tests/model_serving/model_server/private_endpoint/test_kserve_private_endpoint.py
Outdated
Show resolved
Hide resolved
Signed-off-by: lugi0 <[email protected]>
adolfo-ab
previously approved these changes
Nov 26, 2024
rnetser
requested changes
Nov 26, 2024
Signed-off-by: lugi0 <[email protected]>
This was referenced Nov 26, 2024
adolfo-ab
previously approved these changes
Nov 27, 2024
Signed-off-by: lugi0 <[email protected]>
rnetser
approved these changes
Nov 27, 2024
adolfo-ab
approved these changes
Nov 27, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Adding two tests for kserve private endpoints.
How Has This Been Tested?
This has been tested multiple times from a local environment. It passes most of the time, but rarely fails on one of the assert calls in
test_curl_with_istio
because it receives an empty reply rather than anOK
- might be a timing related problem, but seems weird because it is usually the second assert that fails.If you want to run the tests yourself you will need to run
uv run pytest tests/model_serving/model_server/private_endpoint/
Merge criteria: