Skip to content

Commit bfe0272

Browse files
committed
fixing bug where we waited for two containers for operator pod when tool calling enabled
1 parent c68052a commit bfe0272

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

tests/e2e/utils/cluster.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -384,8 +384,9 @@ def pod_has_containers_ready():
384384
ols_config_suffix = os.getenv("OLS_CONFIG_SUFFIX", "default")
385385
tool_calling_enabled = "tool_calling" in ols_config_suffix
386386

387-
if tool_calling_enabled:
388-
return ready_containers >= 2
387+
if name == "lightspeed-app-server-":
388+
if tool_calling_enabled:
389+
return ready_containers >= 2
389390
return ready_containers >= 1
390391

391392
# wait for the containers in the server pod to become ready

0 commit comments

Comments
 (0)