Skip to content

[Serving] Fix API handler system tests#9562

Merged
assaf758 merged 1 commit intomlrun:developmentfrom
jond01:task/fix-api-handler-sys-tests
Apr 12, 2026
Merged

[Serving] Fix API handler system tests#9562
assaf758 merged 1 commit intomlrun:developmentfrom
jond01:task/fix-api-handler-sys-tests

Conversation

@jond01
Copy link
Copy Markdown
Member

@jond01 jond01 commented Apr 12, 2026

Following #9517.

The fix is to add the first positional argument body to all the handlers.

I ran all the API handler system tests

pytest -s "tests/system/runtimes/test_serving.py::TestServingAPIHandler"

And they passed: 6 passed in 632.42s (0:10:32).

Fixes ML-12405.

@jond01 jond01 force-pushed the task/fix-api-handler-sys-tests branch from 46f24ca to 05920ab Compare April 12, 2026 09:22
@github-actions
Copy link
Copy Markdown
Contributor

📊 Diff Coverage Report

📂 Click to view full coverage details

Diff Coverage

Diff: origin/development...HEAD, staged and unstaged changes

No lines with coverage information in this diff.

@assaf758 assaf758 merged commit 2d4fb7a into mlrun:development Apr 12, 2026
16 checks passed
@jond01 jond01 deleted the task/fix-api-handler-sys-tests branch April 12, 2026 13:16
jond01 added a commit to jond01/mlrun that referenced this pull request Apr 12, 2026
Following mlrun#9517.

The fix is to add the first positional argument `body` to all the
handlers.

I ran all the API handler system tests
```
pytest -s "tests/system/runtimes/test_serving.py::TestServingAPIHandler"
```
And they passed: `6 passed in 632.42s (0:10:32)`.

Fixes [ML-12405](https://iguazio.atlassian.net/browse/ML-12405).

[ML-12405]:
https://iguazio.atlassian.net/browse/ML-12405?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants