aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
authorShane Freeder <[email protected]>2020-03-04 22:27:59 +0000
committerShane Freeder <[email protected]>2020-03-04 22:27:59 +0000
commit7bd0b6ab1ab2d7a17b20048dfc06daa1319c3506 (patch)
tree6244ed59af466ceb9342bd6abe31593f9789ff0d /scripts
parentccf1d5908fb24dd56ff46ada6e45ae5c4fbb5845 (diff)
downloadPaper-7bd0b6ab1ab2d7a17b20048dfc06daa1319c3506.tar.gz
Paper-7bd0b6ab1ab2d7a17b20048dfc06daa1319c3506.zip
[CI-SKIP] Add PAPER_TEST_APP_ARGS
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/testServer.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/testServer.sh b/scripts/testServer.sh
index 0c5a5eb506..98e8335daf 100755
--- a/scripts/testServer.sh
+++ b/scripts/testServer.sh
@@ -91,7 +91,8 @@ baseargs="$baseargs -XX:+UnlockExperimentalVMOptions -XX:G1NewSizePercent=40 -XX
baseargs="$baseargs -XX:InitiatingHeapOccupancyPercent=10 -XX:G1MixedGCLiveThresholdPercent=20 "
baseargs="$baseargs -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5100"
-cmd="java ${PAPER_TEST_BASE_JVM_ARGS:-$baseargs} ${PAPER_TEST_EXTRA_JVM_ARGS} -jar $jar"
+
+cmd="java ${PAPER_TEST_BASE_JVM_ARGS:-$baseargs} ${PAPER_TEST_EXTRA_JVM_ARGS} -jar $jar ${PAPER_TEST_APP_ARGS:-}"
screen_command="screen -DURS papertest $cmd"
tmux_command="tmux new-session -A -s Paper -n 'Paper Test' -c '$(pwd)' '$cmd'"