Skip to content

Commit

Permalink
#1111: tests: limit to 2 nodes and less max memory
Browse files Browse the repository at this point in the history
  • Loading branch information
lifflander committed Oct 20, 2020
1 parent a250bc1 commit cac8f9d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/unit/active/test_active_send_large.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand All @@ -126,7 +127,7 @@ REGISTER_TYPED_TEST_SUITE_P(TestActiveSendLarge, test_large_bytes_msg);
using NonSerTestTypes = testing::Types<
std::tuple<std::integral_constant<NumBytesType, 30>, NonSerializedTag>,
std::tuple<std::integral_constant<NumBytesType, 31>, NonSerializedTag>,
std::tuple<std::integral_constant<NumBytesType, 34>, NonSerializedTag>
std::tuple<std::integral_constant<NumBytesType, 32>, NonSerializedTag>
>;

using SerTestTypes = testing::Types<
Expand Down

0 comments on commit cac8f9d

Please sign in to comment.