Skip to content

Commit fa3aeea

Browse files
authored
Skip tests that often take ages in the CI (#398)
* skip tests that often take ages in the CI * skip some more
1 parent 2c856b1 commit fa3aeea

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

virtualizarr/tests/test_backend.py

+5-3
Original file line numberDiff line numberDiff line change
@@ -234,13 +234,15 @@ class TestReadFromURL:
234234
"netcdf4",
235235
"https://github.com/pydata/xarray-data/raw/master/ROMS_example.nc",
236236
),
237-
(
237+
pytest.param(
238238
"hdf4",
239239
"https://github.com/corteva/rioxarray/raw/master/test/test_data/input/MOD09GA.A2008296.h14v17.006.2015181011753.hdf",
240+
marks=pytest.mark.skip(reason="often times out"),
240241
),
241-
(
242+
pytest.param(
242243
"hdf5",
243244
"https://nisar.asf.earthdatacloud.nasa.gov/NISAR-SAMPLE-DATA/GCOV/ALOS1_Rosamond_20081012/NISAR_L2_PR_GCOV_001_005_A_219_4020_SHNA_A_20081012T060910_20081012T060926_P01101_F_N_J_001.h5",
245+
marks=pytest.mark.skip(reason="often times out"),
244246
),
245247
# https://github.com/zarr-developers/VirtualiZarr/issues/159
246248
# ("hdf5", "https://github.com/fsspec/kerchunk/raw/main/kerchunk/tests/NEONDSTowerTemperatureData.hdf5"),
@@ -284,7 +286,7 @@ def test_read_from_url(self, hdf_backend, filetype, url):
284286
vds = open_virtual_dataset(url, indexes={})
285287
assert isinstance(vds, xr.Dataset)
286288

287-
@pytest.mark.xfail(reason="often times out, as nisar file is 200MB")
289+
@pytest.mark.skip(reason="often times out, as nisar file is 200MB")
288290
def test_virtualizarr_vs_local_nisar(self, hdf_backend):
289291
import fsspec
290292

0 commit comments

Comments
 (0)