source ulimit-n.sh so it applies to the current shell

This commit is contained in:
Michael Vines
2019-02-02 10:42:08 -08:00
parent a7e5423ede
commit 4aa6695a13
4 changed files with 4 additions and 4 deletions

View File

@ -7,7 +7,7 @@ FEATURES="$1"
cd "$(dirname "$0")/.."
source ci/_
export RUST_BACKTRACE=1
scripts/ulimit-n.sh
source scripts/ulimit-n.sh
for test in {,*/}tests/*.rs; do
test=${test##*/} # basename x

View File

@ -22,7 +22,7 @@ ci/affects-files.sh \
source ci/upload-ci-artifact.sh
ci/version-check-with-upgrade.sh nightly
scripts/ulimit-n.sh
source scripts/ulimit-n.sh
scripts/coverage.sh

View File

@ -15,7 +15,7 @@ export LD_LIBRARY_PATH=$PWD/target/perf-libs:$LD_LIBRARY_PATH
export RUST_LOG=multinode=info
scripts/ulimit-n.sh
source scripts/ulimit-n.sh
if [[ $(sysctl -n net.core.rmem_default) -lt 1610612736 ]]; then
echo 'Error: rmem_default too small, run "sudo sysctl -w net.core.rmem_default=1610612736" to continue'

View File

@ -11,7 +11,7 @@ ci/version-check-with-upgrade.sh stable
export RUST_BACKTRACE=1
export RUSTFLAGS="-D warnings"
_ scripts/ulimit-n.sh
source scripts/ulimit-n.sh
_ cargo build --all --verbose --features="$FEATURES"
_ cargo test --all --verbose --features="$FEATURES" --lib -- --nocapture --test-threads=1