Skip to content

Commit

Permalink
Increase the data size to avoid random failures in test_qc_enumeration
Browse files Browse the repository at this point in the history
  • Loading branch information
kounelisagis committed Jan 11, 2025
1 parent 610fd32 commit 27ba4c4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tiledb/tests/test_query_condition.py
Original file line number Diff line number Diff line change
Expand Up @@ -874,7 +874,7 @@ def test_boolean_dense(self):

def test_qc_enumeration(self):
uri = self.path("test_qc_enumeration")
dom = tiledb.Domain(tiledb.Dim(domain=(1, 8), tile=1))
dom = tiledb.Domain(tiledb.Dim(domain=(1, 100), tile=1))
enum1 = tiledb.Enumeration("enmr1", True, [0, 1, 2])
enum2 = tiledb.Enumeration("enmr2", True, ["a", "bb", "ccc"])
attr1 = tiledb.Attr("attr1", dtype=np.int32, enum_label="enmr1")
Expand All @@ -884,8 +884,8 @@ def test_qc_enumeration(self):
)
tiledb.Array.create(uri, schema)

data1 = np.random.randint(0, 3, 8)
data2 = np.random.randint(0, 3, 8)
data1 = np.random.randint(0, 3, 100)
data2 = np.random.randint(0, 3, 100)

with tiledb.open(uri, "w") as A:
A[:] = {"attr1": data1, "attr2": data2}
Expand Down

0 comments on commit 27ba4c4

Please sign in to comment.