More integration test fixes (#1889)

This commit is contained in:
Josh Mock
2023-05-30 13:11:28 -05:00
committed by GitHub
parent 10039d9b8f
commit 5c4c29f51c
10 changed files with 43 additions and 18 deletions

View File

@ -33,7 +33,10 @@ master_node_name=${es_node_name}
cluster_name=${moniker}${suffix}
# Set vm.max_map_count kernel setting to 262144
sudo sysctl -w vm.max_map_count=262144
if [ "$(sysctl vm.max_map_count)" != 'vm.max_map_count = 262144' ]; then
echo "vm.max_map_count may be too low. resetting."
sudo sysctl -w vm.max_map_count=262144
fi
declare -a volumes
environment=($(cat <<-END