Skip to content

Commit e1f57bd

Browse files
authored
Increase the data size to avoid random failures in test_qc_enumeration (#2141)
1 parent 7a22cc5 commit e1f57bd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tiledb/tests/test_query_condition.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -874,7 +874,7 @@ def test_boolean_dense(self):
874874

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

887-
data1 = np.random.randint(0, 3, 8)
888-
data2 = np.random.randint(0, 3, 8)
887+
data1 = np.random.randint(0, 3, 100)
888+
data2 = np.random.randint(0, 3, 100)
889889

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

0 commit comments

Comments
 (0)