1
0
Fork 0
arangodb/Installation/Pipeline/test_singleserver_community...

53 lines
3.8 KiB
Bash
Executable File

#!/bin/bash
concurrency=$1
echo "ARANGOD VERSION: `build/bin/arangod --version`"
echo "CORE PATTERN: `cat /proc/sys/kernel/core_pattern`"
echo "CORE LIMIT: `ulimit -c`"
rm -rf core.* *.log out
rm -rf tmp && mkdir tmp
export TMPDIR=$(pwd)/tmp
export TEMPDIR=$(pwd)/tmp
PORT01=`./Installation/Pipeline/port.sh`
PORT02=`./Installation/Pipeline/port.sh`
PORT03=`./Installation/Pipeline/port.sh`
trap "./Installation/Pipeline/port.sh --clean $PORT01 $PORT02 $PORT03" EXIT
# note that: shebang does not work if path contains a '@'
OPTS="--storageEngine mmfiles --skipNondeterministic true --skipTimeCritical true --configDir etc/jenkins --skipLogAnalysis true"
echo "
scripts/unittest boost --skipCache false 2>&1
scripts/unittest agency --minPort `expr $PORT01 + 0` --maxPort `expr $PORT01 + 9` $OPTS 2>&1
scripts/unittest arangobench --minPort `expr $PORT01 + 10` --maxPort `expr $PORT01 + 19` $OPTS 2>&1
scripts/unittest arangosh --minPort `expr $PORT01 + 20` --maxPort `expr $PORT01 + 29` $OPTS --skipShebang true 2>&1
scripts/unittest authentication --minPort `expr $PORT01 + 30` --maxPort `expr $PORT01 + 39` $OPTS 2>&1
scripts/unittest authentication_parameters --minPort `expr $PORT01 + 40` --maxPort `expr $PORT01 + 49` $OPTS 2>&1
scripts/unittest cluster_sync --minPort `expr $PORT01 + 50` --maxPort `expr $PORT01 + 59` $OPTS 2>&1
scripts/unittest config --minPort `expr $PORT01 + 60` --maxPort `expr $PORT01 + 69` $OPTS 2>&1
scripts/unittest dfdb --minPort `expr $PORT01 + 70` --maxPort `expr $PORT01 + 79` $OPTS 2>&1
scripts/unittest dump --minPort `expr $PORT01 + 80` --maxPort `expr $PORT01 + 89` $OPTS 2>&1
scripts/unittest dump_authentication --minPort `expr $PORT01 + 90` --maxPort `expr $PORT01 + 99` $OPTS 2>&1
scripts/unittest endpoints --minPort `expr $PORT02 + 100` --maxPort `expr $PORT02 + 109` $OPTS 2>&1
scripts/unittest http_replication --minPort `expr $PORT02 + 110` --maxPort `expr $PORT02 + 119` $OPTS 2>&1
scripts/unittest http_server --minPort `expr $PORT02 + 120` --maxPort `expr $PORT02 + 129` $OPTS 2>&1
scripts/unittest replication_ongoing --minPort `expr $PORT02 + 130` --maxPort `expr $PORT02 + 139` $OPTS 2>&1
scripts/unittest replication_static --minPort `expr $PORT02 + 140` --maxPort `expr $PORT02 + 149` $OPTS 2>&1
scripts/unittest replication_sync --minPort `expr $PORT02 + 150` --maxPort `expr $PORT02 + 159` $OPTS 2>&1
scripts/unittest server_http --minPort `expr $PORT02 + 160` --maxPort `expr $PORT02 + 169` $OPTS 2>&1
scripts/unittest shell_client --minPort `expr $PORT02 + 170` --maxPort `expr $PORT02 + 179` $OPTS 2>&1
scripts/unittest shell_replication --minPort `expr $PORT02 + 180` --maxPort `expr $PORT02 + 189` $OPTS 2>&1
scripts/unittest shell_server --minPort `expr $PORT02 + 190` --maxPort `expr $PORT02 + 199` $OPTS 2>&1
scripts/unittest shell_server_aql --minPort `expr $PORT03 + 0` --maxPort `expr $PORT03 + 9` $OPTS --testBuckets 4/0 2>&1
scripts/unittest shell_server_aql --minPort `expr $PORT03 + 10` --maxPort `expr $PORT03 + 19` $OPTS --testBuckets 4/1 2>&1
scripts/unittest shell_server_aql --minPort `expr $PORT03 + 20` --maxPort `expr $PORT03 + 29` $OPTS --testBuckets 4/2 2>&1
scripts/unittest shell_server_aql --minPort `expr $PORT03 + 30` --maxPort `expr $PORT03 + 39` $OPTS --testBuckets 4/3 2>&1
scripts/unittest ssl_server --minPort `expr $PORT03 + 40` --maxPort `expr $PORT03 + 49` $OPTS 2>&1
scripts/unittest upgrade --minPort `expr $PORT03 + 50` --maxPort `expr $PORT03 + 59` $OPTS 2>&1
" | parallel --no-notice --load 10 --jobs $concurrency