Skip to content
This repository was archived by the owner on Mar 31, 2026. It is now read-only.

Commit a49609f

Browse files
committed
fix: Fix for flaky test_read_timestamp_client_side_autocommit test
1 parent 7a92315 commit a49609f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/system/test_dbapi.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -420,6 +420,7 @@ def test_read_timestamp_client_side_autocommit(self):
420420
assert self._cursor.description[0].name == "SHOW_READ_TIMESTAMP"
421421
assert isinstance(read_timestamp_query_result_1[0][0], DatetimeWithNanoseconds)
422422

423+
time.sleep(0.25)
423424
self._cursor.execute("SELECT * FROM contacts")
424425
self._cursor.execute("SHOW VARIABLE READ_TIMESTAMP")
425426
read_timestamp_query_result_2 = self._cursor.fetchall()

0 commit comments

Comments
 (0)