From 09600105bf5c5166d8ba57a4d153739b815a70c5 Mon Sep 17 00:00:00 2001 From: Amanda Potts Date: Thu, 21 Nov 2024 13:52:16 -0500 Subject: [PATCH] Closes #3912: failing unit test test_is_locally_sorted_multidim under gasnet nl==2 --- tests/pdarrayclass_test.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/pdarrayclass_test.py b/tests/pdarrayclass_test.py index d017d27d5b..2fe0c0c599 100644 --- a/tests/pdarrayclass_test.py +++ b/tests/pdarrayclass_test.py @@ -113,12 +113,13 @@ def test_is_locally_sorted_multi_locale(self, size): assert not is_sorted(a) @pytest.mark.skip_if_max_rank_less_than(3) + @pytest.mark.skip_if_nl_greater_than(2) @pytest.mark.parametrize("dtype", DTYPES) @pytest.mark.parametrize("axis", [None, 0, 1, (0, 2), (0, 1, 2)]) def test_is_locally_sorted_multidim(self, dtype, axis): from arkouda.pdarrayclass import is_locally_sorted - a = ak.array(ak.randint(0, 100, (5, 7, 4), dtype=ak.int64, seed=SEED)) + a = ak.array(ak.randint(0, 100, (20, 20, 20), dtype=dtype, seed=SEED)) sorted = is_locally_sorted(a, axis=axis) if isinstance(sorted, np.bool_): assert not sorted