Skip to content

Commit b983356

Browse files
committed
TEST CHANGE ONLY: enable the option to use war from Narayana when running via CI
1 parent 9a3c66a commit b983356

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/hudson/narayana.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ function init_test_options {
8686
[ $CODE_COVERAGE ] || CODE_COVERAGE=0
8787
[ x"$CODE_COVERAGE_ARGS" != "x" ] || CODE_COVERAGE_ARGS=""
8888
[ $ARQ_PROF ] || ARQ_PROF=arq # IPv4 arquillian profile
89+
[ $USE_LATEST_COORDINATOR] || USE_LATEST_COORDINATOR=" -Pdeploy.lra.coordinator" # use the built coordinator
8990
[ $ENABLE_LRA_TRACE_LOGS ] || ENABLE_LRA_TRACE_LOGS=" -Dtest.logs.to.file=true -Dtrace.lra.coordinator"
9091

9192
if ! get_pull_xargs "$PULL_DESCRIPTION_BODY" $PROFILE; then # see if the PR description overrides the profile
@@ -358,7 +359,7 @@ function lra_tests {
358359
echo "#0. LRA Test"
359360
echo "#0. Running LRA tests using $ARQ_PROF profile"
360361
# Ideally the following target would be test and integration-test but that doesn't seem to shutdown the server each time
361-
PRESERVE_WORKING_DIR=true ./build.sh -fae -B -P$ARQ_PROF $CODE_COVERAGE_ARGS $ENABLE_LRA_TRACE_LOGS -Dlra.test.timeout.factor="${LRA_TEST_TIMEOUT_FACTOR:-1.5}" "$@" install
362+
PRESERVE_WORKING_DIR=true ./build.sh -fae -B -P$ARQ_PROF $USE_LATEST_COORDINATOR $CODE_COVERAGE_ARGS $ENABLE_LRA_TRACE_LOGS -Dlra.test.timeout.factor="${LRA_TEST_TIMEOUT_FACTOR:-1.5}" "$@" install
362363
lra_arq=$?
363364
if [ $lra_arq != 0 ] ; then fatal "LRA Test failed with failures in $ARQ_PROF profile" ; fi
364365
}

0 commit comments

Comments
 (0)