Skip to content

Commit

Permalink
Use threads
Browse files Browse the repository at this point in the history
  • Loading branch information
TomAugspurger committed Feb 4, 2025
1 parent d89bf5e commit b641240
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions python/kvikio/tests/test_benchmarks.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"zarr",
],
)
@pytest.mark.timeout(30)
@pytest.mark.timeout(30, method="thread")
def test_single_node_io(run_cmd, tmp_path, api):
"""Test benchmarks/single_node_io.py"""

Expand Down Expand Up @@ -60,7 +60,7 @@ def test_single_node_io(run_cmd, tmp_path, api):
"posix",
],
)
@pytest.mark.timeout(30)
@pytest.mark.timeout(30, method="thread")
def test_zarr_io(run_cmd, tmp_path, api):
"""Test benchmarks/zarr_io.py"""

Expand Down Expand Up @@ -91,7 +91,7 @@ def test_zarr_io(run_cmd, tmp_path, api):
"numpy",
],
)
@pytest.mark.timeout(30)
@pytest.mark.timeout(30, method="thread")
def test_http_io(run_cmd, api):
"""Test benchmarks/http_io.py"""

Expand Down Expand Up @@ -121,7 +121,7 @@ def test_http_io(run_cmd, api):
"numpy",
],
)
@pytest.mark.timeout(30)
@pytest.mark.timeout(30, method="thread")
def test_s3_io(run_cmd, api):
"""Test benchmarks/s3_io.py"""

Expand Down

0 comments on commit b641240

Please sign in to comment.