mirror of
https://github.com/datahub-project/datahub.git
synced 2025-12-12 10:35:51 +00:00
chore(ingest): bump bounds on cooperative timeout test (#13449)
This commit is contained in:
parent
81c100c0fc
commit
926bb3ceba
@ -26,7 +26,9 @@ def test_cooperative_timeout_sql() -> None:
|
|||||||
# sql() implicitly calls copy(), which is where we check for the timeout.
|
# sql() implicitly calls copy(), which is where we check for the timeout.
|
||||||
assert statement.sql() is not None
|
assert statement.sql() is not None
|
||||||
time.sleep(0.0001)
|
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:
|
def test_scope_circular_dependency() -> None:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user