Skip to content

Commit 4dafa3e

Browse files
committed
reduce test activity
1 parent f317149 commit 4dafa3e

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

tests/s3_exploratory/test_s3_performance.py

+6-2
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,8 @@
44
import ujson
55

66
from pathlib import Path
7-
from kerchunk.hdf import SingleHdf5ToZarr
87

98
from activestorage.active import Active
10-
from activestorage.netcdf_to_zarr import open_zarr_group
119
from config_minio import *
1210

1311

@@ -17,6 +15,7 @@ def test_data_path():
1715
return Path(__file__).resolve().parent / 'test_data'
1816

1917

18+
@pytest.mark.xfail(reason="Pyfive don't use Kerchunk")
2019
def test_s3_SingleHdf5ToZarr():
2120
"""Check Kerchunk's SingleHdf5ToZarr when S3."""
2221
# SingleHdf5ToZarr is VERY quick and MEM-light
@@ -33,6 +32,7 @@ def test_s3_SingleHdf5ToZarr():
3332
inline_threshold=0)
3433

3534

35+
@pytest.mark.xfail(reason="Pyfive don't use Kerchunk")
3636
def test_local_SingleHdf5ToZarr(test_data_path):
3737
"""Check Kerchunk's SingleHdf5ToZarr when NO S3."""
3838
# SingleHdf5ToZarr is VERY quick and MEM-light
@@ -44,6 +44,7 @@ def test_local_SingleHdf5ToZarr(test_data_path):
4444
inline_threshold=0)
4545

4646

47+
@pytest.mark.xfail(reason="Pyfive don't use Kerchunk")
4748
def test_s3_kerchunk_to_json():
4849
"""Check Kerchunk's SingleHdf5ToZarr dumped to JSON, when S3."""
4950
s3_file = "s3://pyactivestorage/s3_test_bizarre_large.nc"
@@ -64,6 +65,7 @@ def test_s3_kerchunk_to_json():
6465
f.write(ujson.dumps(h5chunks.translate()).encode())
6566

6667

68+
@pytest.mark.xfail(reason="Pyfive don't use Kerchunk")
6769
def test_local_kerchunk_to_json(test_data_path):
6870
"""Check Kerchunk's SingleHdf5ToZarr dumped to JSON, when NO S3."""
6971
local_file = str(test_data_path / "test_bizarre.nc")
@@ -78,6 +80,7 @@ def test_local_kerchunk_to_json(test_data_path):
7880
f.write(ujson.dumps(h5chunks.translate()).encode())
7981

8082

83+
@pytest.mark.xfail(reason="Pyfive don't use Kerchunk")
8184
def test_s3_kerchunk_openZarrGroup():
8285
"""Check Kerchunk's SingleHdf5ToZarr dumped to JSON, when S3."""
8386
s3_file = "s3://pyactivestorage/s3_test_bizarre_large.nc"
@@ -99,6 +102,7 @@ def test_s3_kerchunk_openZarrGroup():
99102
ref_ds = open_zarr_group(outf, "data")
100103

101104

105+
@pytest.mark.xfail(reason="Pyfive don't use Kerchunk")
102106
def test_local_kerchunk_openZarrGroup(test_data_path):
103107
"""Check Kerchunk's SingleHdf5ToZarr dumped to JSON, when NO S3."""
104108
local_file = str(test_data_path / "test_bizarre.nc")

0 commit comments

Comments
 (0)