Skip to content

Commit

Permalink
Merge branch 'dev' into agis/add-new-argument-for-Group--add_member
Browse files Browse the repository at this point in the history
  • Loading branch information
kounelisagis committed Oct 18, 2024
2 parents b623536 + 33ff06d commit b0aaccf
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
13 changes: 9 additions & 4 deletions tiledb/tests/test_fixes.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,10 +161,15 @@ def test_sc16301_arrow_extra_estimate_dense(self):
with tiledb.open(uri) as A:
tiledb.stats_enable()
A[:]
assert (
""""Context.StorageManager.Query.Reader.loop_num": 1"""
in tiledb.stats_dump(print_out=False)
)

stats_dump_str = tiledb.stats_dump(print_out=False)
if tiledb.libtiledb.version() >= (2, 27):
assert """"Context.Query.Reader.loop_num": 1""" in stats_dump_str
else:
assert (
""""Context.StorageManager.Query.Reader.loop_num": 1"""
in stats_dump_str
)
tiledb.stats_disable()

@pytest.mark.skipif(
Expand Down
3 changes: 2 additions & 1 deletion tiledb/tests/test_libtiledb.py
Original file line number Diff line number Diff line change
Expand Up @@ -3500,7 +3500,8 @@ def test_query(self):
q[:]

stats = q.get_stats(print_out=False)
assert "Context.StorageManager.Query" in stats
# check that the stats are non-empty
assert stats


class NullableIOTest(DiskTestCase):
Expand Down

0 comments on commit b0aaccf

Please sign in to comment.