Skip to content

Commit

Permalink
Updated node count to 230. Increased wmem on CI large
Browse files Browse the repository at this point in the history
  • Loading branch information
pgarg66 authored and solana-grimes committed Aug 8, 2018
1 parent 054298d commit a6857db
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
14 changes: 12 additions & 2 deletions ci/test-large-network.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion tests/multinode.rs
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit a6857db

Please sign in to comment.