Skip to content

Commit 1a3d477

Browse files
committed
Removed the TileDB TBB threads test
The test was always marked to always be skipped and TBB threads has been long deprecated in TileDB.
1 parent 037eb9e commit 1a3d477

1 file changed

Lines changed: 0 additions & 15 deletions

File tree

apis/python/tests/test_config.py

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -46,21 +46,6 @@ def test_read_config():
4646
ds = tiledbvcf.Dataset(uri, mode="r", cfg=cfg, tiledb_config=tiledb_config)
4747

4848

49-
# This test is skipped because running it in the same process as all the normal
50-
# tests will cause it to fail (the first context created in a process determines
51-
# the number of TBB threads allowed).
52-
@pytest.mark.skip
53-
def test_tbb_threads_config():
54-
"""Verify that changing the TBB thread count after initial setup raises RuntimeError."""
55-
uri = os.path.join(TESTS_INPUT_DIR, "arrays/v3/ingested_2samples")
56-
cfg = tiledbvcf.ReadConfig(tiledb_config=["sm.num_tbb_threads=3"])
57-
ds = tiledbvcf.Dataset(uri, mode="r", cfg=cfg)
58-
59-
cfg = tiledbvcf.ReadConfig(tiledb_config=["sm.num_tbb_threads=4"])
60-
with pytest.raises(RuntimeError):
61-
ds = tiledbvcf.Dataset(uri, mode="r", cfg=cfg)
62-
63-
6449
def test_read_limit():
6550
"""Verify that ReadConfig limit truncates results to the specified number of rows."""
6651
uri = os.path.join(TESTS_INPUT_DIR, "arrays/v3/ingested_2samples")

0 commit comments

Comments
 (0)