Skip to content

Commit aa12fc9

Browse files
committed
fix: wait for llama-stack health condition
Fixes timing issue when the LlamaStackDistribition is not ready, causing the llama-stack service portforwarding to fail Signed-off-by: Jorge Garcia Oncins <jgarciao@redhat.com>
1 parent b1a2d7f commit aa12fc9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/rag/conftest.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ def llama_stack_distribution_from_template(
8383
replicas=1,
8484
server=llama_stack_server(),
8585
) as llama_stack_distribution:
86+
llama_stack_distribution.wait_for_condition(condition="HealthCheck", status="True", timeout=240)
8687
yield llama_stack_distribution
8788

8889

0 commit comments

Comments
 (0)