From 802eb72d0b50f7a0b5b0c54758303368d8f02964 Mon Sep 17 00:00:00 2001 From: Hartmut Kaiser Date: Wed, 23 Aug 2023 09:23:29 -0500 Subject: [PATCH] Split tests to avoid OOM on CircleCI --- .../unit/container_algorithms/is_sorted_until_range.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libs/core/algorithms/tests/unit/container_algorithms/is_sorted_until_range.cpp b/libs/core/algorithms/tests/unit/container_algorithms/is_sorted_until_range.cpp index 9ee1221e8aea..6a2ba646cbf8 100644 --- a/libs/core/algorithms/tests/unit/container_algorithms/is_sorted_until_range.cpp +++ b/libs/core/algorithms/tests/unit/container_algorithms/is_sorted_until_range.cpp @@ -715,7 +715,7 @@ void test_sorted_until3_seq() std::iota(std::begin(c1), std::end(c1), 0); std::iota(std::begin(c2), std::end(c2), 0); - auto until1 = + auto const until1 = hpx::ranges::is_sorted_until(c1, std::less(), [&](int x) { if (x == 0) { @@ -730,7 +730,7 @@ void test_sorted_until3_seq() return x; } }); - auto until2 = + auto const until2 = hpx::ranges::is_sorted_until(c2, std::less(), [&](int x) { if (x == static_cast(c2.size()) / 3 || x == 2 * static_cast(c2.size()) / 3) @@ -743,8 +743,8 @@ void test_sorted_until3_seq() } }); - auto test_index1 = std::begin(c1) + 1; - auto test_index2 = std::begin(c2) + c2.size() / 3; + auto const test_index1 = std::begin(c1) + 1; + auto const test_index2 = std::begin(c2) + c2.size() / 3; HPX_TEST(until1 == test_index1); HPX_TEST(until2 == test_index2);