llama-stack-mirror/tests/unit/providers/utils
Ihar Hrachyshka 1ceebdc813 fix: cancel scheduler tasks on shutdown
Otherwise the currently running tasks will never exit (before they
actually complete), which means the process can't be properly shut down
(only with SIGKILL).

Ideally, we let tasks know that they are about to shutdown and give them
some time to do so; but in the lack of the mechanism, it's better to
cancel than linger forever.

Signed-off-by: Ihar Hrachyshka <ihar.hrachyshka@gmail.com>
2025-05-09 13:53:00 -04:00
..
inference fix: openai_compat messages system/assistant non-str content (#2095) 2025-05-02 13:09:27 -07:00
memory fix: add check for interleavedContent (#1973) 2025-05-06 09:55:07 -07:00
__init__.py fix: add check for interleavedContent (#1973) 2025-05-06 09:55:07 -07:00
test_model_registry.py fix: allow use of models registered at runtime (#1980) 2025-05-01 12:00:58 -07:00
test_scheduler.py fix: cancel scheduler tasks on shutdown 2025-05-09 13:53:00 -04:00