Updated node count to 230. Increased wmem on CI large

This commit is contained in:
Pankaj Garg 2018-08-08 17:24:00 +00:00 committed by Grimes
parent 054298d957
commit a6857dbaaa
2 changed files with 13 additions and 3 deletions

View File

@ -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

2
tests/multinode.rs Normal file → Executable file
View File

@ -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";