Update acceptance tests build arguments to capture JVM crash logs (#1327)

Update acceptance tests build arguments to capture JVM crash logs in CircleCI

Signed-off-by: Usman Saleem <usman@usmans.info>
pull/1341/head
Usman Saleem 4 years ago committed by GitHub
parent b66d2e67bf
commit 47777e2049
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      .circleci/config.yml
  2. 6
      acceptance-tests/tests/build.gradle

@ -63,8 +63,7 @@ commands:
path: acceptance-tests/tests/build/acceptanceTestLogs
destination: acceptance-tests-logs
- store_artifacts:
path: /home/circleci/project/acceptance-tests/tests/hs_err_pid*
destination: acceptance-tests-logs
path: acceptance-tests/tests/build/jvmErrorLogs
jobs:
assemble:

@ -66,6 +66,8 @@ task acceptanceTest(type: Test) {
description = 'Runs Besu acceptance tests.'
group = 'verification'
jvmArgs "-XX:ErrorFile=${buildDir}/jvmErrorLogs/java_err_pid%p.log"
testLogging {
exceptionFormat = 'full'
showStackTraces = true
@ -73,4 +75,8 @@ task acceptanceTest(type: Test) {
showExceptions = true
showCauses = true
}
doFirst {
mkdir "${buildDir}/jvmErrorLogs"
}
}

Loading…
Cancel
Save