Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion apps/api/tests/contract/test_indexing_execution_contract.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,9 @@ def test_execution_timeout_stops_native_wait_and_returns_without_replay(

engine, jobId = parsedRuntime
calls: list[str] = []
executionBudget: float = float(os.environ.get("KNOWHERE_TEST_SHORT_INDEXING_TIMEOUT_SECONDS", "0.08"))
# The budget also covers the database work before the native wait starts. It must be long enough
# for a slow runner to reach the wait, and far shorter than the wait itself.
executionBudget: float = float(os.environ.get("KNOWHERE_TEST_SHORT_INDEXING_TIMEOUT_SECONDS", "1"))
from shared.services.retrieval.lexical.runtime import OpenSearchRuntime
from types import SimpleNamespace
# The RPC is fake; omit unrelated cold TLS/client initialization so this
Expand Down
Loading