Skip to content

Commit e2c1ed1

Browse files
committed
test_upload: extend sleep before cancellation
increase chances of actually getting a single chunk processed before the cancel takes place.
1 parent 0fa3f7e commit e2c1ed1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/integration/test_upload.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -670,10 +670,10 @@ async def test_cancel_upload_chunk(
670670

671671
upload_box.send_keys(str(target_file))
672672
upload_button.click()
673-
await asyncio.sleep(1)
673+
await asyncio.sleep(2)
674674
cancel_button.click()
675675

676-
await asyncio.sleep(12)
676+
await asyncio.sleep(11)
677677

678678
# But there should never be a final progress record for a cancelled upload.
679679
for p in driver.find_elements(By.XPATH, "//*[@id='stream_progress_dicts']/p"):

0 commit comments

Comments
 (0)