From a6857dbaaa66c5a6273bc1016ce717b651b39409 Mon Sep 17 00:00:00 2001 From: Pankaj Garg Date: Wed, 8 Aug 2018 17:24:00 +0000 Subject: [PATCH] Updated node count to 230. Increased wmem on CI large --- ci/test-large-network.sh | 14 ++++++++++++-- tests/multinode.rs | 2 +- 2 files changed, 13 insertions(+), 3 deletions(-) mode change 100644 => 100755 tests/multinode.rs diff --git a/ci/test-large-network.sh b/ci/test-large-network.sh index 6923f1e5183e26..8661fac6dde72e 100755 --- a/ci/test-large-network.sh +++ b/ci/test-large-network.sh @@ -22,12 +22,22 @@ if [[ $(ulimit -n) -lt 65000 ]]; then fi if [[ $(sysctl -n net.core.rmem_default) -lt 1610612736 ]]; then - echo 'Error: rmem_default too small, run "sysctl -w net.core.rmem_default 1610612736" to continue' + echo 'Error: rmem_default too small, run "sudo sysctl -w net.core.rmem_default 1610612736" to continue' exit 1 fi if [[ $(sysctl -n net.core.rmem_max) -lt 1610612736 ]]; then - echo 'Error: rmem_max too small, run "sysctl -w net.core.rmem_max 1610612736" to continue' + echo 'Error: rmem_max too small, run "sudo sysctl -w net.core.rmem_max 1610612736" to continue' + exit 1 +fi + +if [[ $(sysctl -n net.core.wmem_default) -lt 1610612736 ]]; then + echo 'Error: rmem_default too small, run "sudo sysctl -w net.core.wmem_default 1610612736" to continue' + exit 1 +fi + +if [[ $(sysctl -n net.core.wmem_max) -lt 1610612736 ]]; then + echo 'Error: rmem_max too small, run "sudo sysctl -w net.core.wmem_max 1610612736" to continue' exit 1 fi diff --git a/tests/multinode.rs b/tests/multinode.rs old mode 100644 new mode 100755 index 7983fabdf8228f..8d487e92dc5f54 --- a/tests/multinode.rs +++ b/tests/multinode.rs @@ -523,7 +523,7 @@ fn test_multi_node_dynamic_network() { Ok(val) => val .parse() .expect(&format!("env var {} is not parse-able as usize", key)), - Err(_) => 200, + Err(_) => 230, }; let purge_key = "SOLANA_DYNAMIC_NODES_PURGE_LAG";