mirror of https://gitee.com/bigwinds/arangodb
parent
0450700419
commit
6aabc148d8
|
@ -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 {
|
||||
|
|
|
@ -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 $?
|
||||
|
|
Loading…
Reference in New Issue