Skip to content

test error due to unstable data downloading #3616

@wyli

Description

@wyli

Describe the bug

======================================================================
ERROR: test_read_patches_cucim_0 (tests.test_patch_wsi_dataset.TestPatchWSIDataset)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/runner/work/MONAI/MONAI/tests/test_patch_wsi_dataset.py", line 111, in setUp
    download_url(FILE_URL, FILE_PATH, "5a3cfd4fd725c50578ddb80b517b759f")
  File "/home/runner/work/MONAI/MONAI/monai/apps/utils.py", line 196, in download_url
    raise RuntimeError(
RuntimeError: Download of file from https://drive.google.com/uc?id=1sGTKZlJBIz53pfqTxoTqiIQzIoEzHLAe to /home/runner/work/MONAI/MONAI/tests/testing_data/temp_1sGTKZlJBIz53pfqTxoTqiIQzIoEzHLAe.tiff failed due to network issue or denied permission.

----------------------------------------------------------------------

we can skip the tests whenever the testing data fetching fails.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions