Commit 9ba049a
authored
fix(storage): fix test_mrd_concurrent_download_cancellation (#17151)
The test test_mrd_concurrent_download_cancellation is failing
specifically because the download was successful before the test could
cancel it.
- Increased object_size from 5MB to 20MB and adjusted num_chunks to 40
(resulting in 500KB per chunk).
Error:
```
for i in range(num_chunks):
Step #3 - "run-tests-and-delete-vm": if i % 2 == 0:
Step #3 - "run-tests-and-delete-vm": > assert isinstance(results[i], asyncio.CancelledError)
Step #3 - "run-tests-and-delete-vm": E AssertionError: assert False
Step #3 - "run-tests-and-delete-vm": E + where False = isinstance(None, <class 'asyncio.exceptions.CancelledError'>)
Step #3 - "run-tests-and-delete-vm": E + where <class 'asyncio.exceptions.CancelledError'> = asyncio.CancelledError
Step #3 - "run-tests-and-delete-vm":
Step #3 - "run-tests-and-delete-vm": tests/system/test_zonal.py:904: AssertionError
```1 parent 07dd331 commit 9ba049a
1 file changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
827 | 827 | | |
828 | 828 | | |
829 | 829 | | |
830 | | - | |
| 830 | + | |
831 | 831 | | |
832 | 832 | | |
833 | 833 | | |
| |||
844 | 844 | | |
845 | 845 | | |
846 | 846 | | |
847 | | - | |
| 847 | + | |
848 | 848 | | |
849 | 849 | | |
850 | 850 | | |
| |||
856 | 856 | | |
857 | 857 | | |
858 | 858 | | |
859 | | - | |
860 | | - | |
| 859 | + | |
| 860 | + | |
861 | 861 | | |
862 | 862 | | |
863 | 863 | | |
| |||
0 commit comments