Skip to content

Commit 2e59253

Browse files
fix: refine query timeout values in test cases
1 parent 4c2d567 commit 2e59253

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_query.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ async def test_query_async_timeout(self):
445445
token=token,
446446
flight_client_options={"generic_options": [('Foo', 'Bar')]},
447447
proxy=None,
448-
options=QueryApiOptionsBuilder().timeout(0).build(),
448+
options=QueryApiOptionsBuilder().timeout(0.0001).build(),
449449
)
450450
query = "SELECT * FROM data"
451451
await q_api.query_async(query, "sql", "", database)
@@ -461,7 +461,7 @@ def test_query_timeout_per_call_override(self):
461461
token=token,
462462
flight_client_options={"generic_options": [('Foo', 'Bar')]},
463463
proxy=None,
464-
options=QueryApiOptionsBuilder().timeout(0).build(),
464+
options=QueryApiOptionsBuilder().timeout(3.14).build(),
465465
)
466466
query = "SELECT * FROM data"
467467
q_api.query(query, "sql", "", database, timeout=0.0001)

0 commit comments

Comments
 (0)