1
0
Fork 0

Feature/jenkins pipeline (#2757)

reduce concurrency
This commit is contained in:
Frank Celler 2017-07-08 19:15:42 +02:00 committed by GitHub
parent 0450700419
commit 6aabc148d8
2 changed files with 10 additions and 5 deletions

View File

@ -559,10 +559,10 @@ allTestsSuccessful = true
def testEdition(edition, os, mode, engine) {
try {
if (os == 'linux') {
sh "./Installation/Pipeline/test_${mode}_${edition}_${engine}_${os}.sh 10"
sh "./Installation/Pipeline/test_${mode}_${edition}_${engine}_${os}.sh 5"
}
else if (os == 'mac') {
sh "./Installation/Pipeline/test_${mode}_${edition}_${engine}_${os}.sh 10"
sh "./Installation/Pipeline/test_${mode}_${edition}_${engine}_${os}.sh 5"
}
else if (os == 'windows') {
PowerShell(". .\\Installation\\Pipeline\\test_${mode}_${edition}_${engine}_${os}.ps1")
@ -570,7 +570,7 @@ def testEdition(edition, os, mode, engine) {
}
catch (exc) {
archiveArtifacts allowEmptyArchive: true,
artifacts: 'core.*, build/bin/arangod',
artifacts: 'core*, build/bin/arangod',
defaultExcludes: false
throw exc
@ -742,6 +742,11 @@ def testResilienceStep(os, engine, foxx) {
catch (exc) {
resiliencesSuccess[name] = false
allResiliencesSuccessful = false
archiveArtifacts allowEmptyArchive: true,
artifacts: 'core*, build/bin/arangod',
defaultExcludes: false
throw exc
}
finally {

View File

@ -83,7 +83,7 @@ if [ "$mode" == singleserver ]; then
scripts/unittest ssl_server --minPort `expr $PORT01 + 240` --maxPort `expr $PORT01 + 249` $OPTS 2>&1
scripts/unittest upgrade --minPort `expr $PORT01 + 250` --maxPort `expr $PORT01 + 259` $OPTS 2>&1
$ENTERPRISE_TESTS
" | parallel --header 1 --results log-output --files --no-notice --load 10 --jobs $concurrency > log-output/${type}.log
" | parallel --verbose --header 1 --results log-output --files --no-notice --load 10 --jobs $concurrency > log-output/${type}.log
elif [ "$mode" == cluster ]; then
OPTS="$OPTS --cluster true"
@ -112,7 +112,7 @@ elif [ "$mode" == cluster ]; then
scripts/unittest ssl_server --minPort `expr $PORT01 + 640` --maxPort `expr $PORT01 + 679` $OPTS 2>&1
scripts/unittest upgrade --minPort `expr $PORT01 + 680` --maxPort `expr $PORT01 + 719` $OPTS 2>&1
$ENTERPRISE_TESTS
" | parallel --header 1 --results log-output --files --no-notice --load 10 --jobs $concurrency > log-output/${type}.log
" | parallel --verbose --header 1 --results log-output --files --no-notice --load 10 --jobs $concurrency > log-output/${type}.log
fi
. ./Installation/Pipeline/include/test_check_result.inc $?