Skip to content

Commit b86647d

Browse files
committed
Add sleep
1 parent 31b43f4 commit b86647d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

azure-kusto-ingest/tests/test_e2e_ingest.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,8 @@ async def assert_rows_added(cls, table_name: str, expected: int, timeout: int =
257257
# this is done to allow for data to arrive properly
258258
if actual >= expected:
259259
if row_async != row:
260+
# retry once more to avoid transient issues
261+
await asyncio.sleep(5)
260262
async with await cls.get_async_client() as async_client:
261263
command = "{} | count".format(table_name)
262264
response = cls.client.execute(cls.test_db, command)

0 commit comments

Comments
 (0)