From cac8f9d1c10aba8b3ac47a4e11a2e759cb5a263c Mon Sep 17 00:00:00 2001 From: Jonathan Lifflander Date: Wed, 14 Oct 2020 16:48:52 -0700 Subject: [PATCH] #1111: tests: limit to 2 nodes and less max memory --- tests/unit/active/test_active_send_large.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/unit/active/test_active_send_large.cc b/tests/unit/active/test_active_send_large.cc index 4ffe8df3e5..52eef6615c 100644 --- a/tests/unit/active/test_active_send_large.cc +++ b/tests/unit/active/test_active_send_large.cc @@ -101,7 +101,8 @@ TYPED_TEST_P(TestActiveSendLarge, test_large_bytes_msg) { NodeType const this_node = theContext()->getNode(); NodeType const num_nodes = theContext()->getNumNodes(); - if (num_nodes < 2) { + // over two nodes will allocate a lot of memory for the run + if (num_nodes != 2) { return; } @@ -126,7 +127,7 @@ REGISTER_TYPED_TEST_SUITE_P(TestActiveSendLarge, test_large_bytes_msg); using NonSerTestTypes = testing::Types< std::tuple, NonSerializedTag>, std::tuple, NonSerializedTag>, - std::tuple, NonSerializedTag> + std::tuple, NonSerializedTag> >; using SerTestTypes = testing::Types<