chore(ingest): bump bounds on cooperative timeout test (#13449)

This commit is contained in:
Harshal Sheth 2025-05-07 23:42:21 -07:00 committed by GitHub
parent 81c100c0fc
commit 926bb3ceba
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -26,7 +26,9 @@ def test_cooperative_timeout_sql() -> None:
# sql() implicitly calls copy(), which is where we check for the timeout.
assert statement.sql() is not None
time.sleep(0.0001)
assert 0.6 <= timer.elapsed_seconds() <= 1.0
# To avoid flakiness, this range is quite generous.
assert 0.6 <= timer.elapsed_seconds() <= 1.2
def test_scope_circular_dependency() -> None: