This is an automated email from the ASF dual-hosted git repository.
jensdeppe pushed a commit to branch feature/GEODE-5212
in repository https://gitbox.apache.org/repos/asf/geode.git
The following commit(s) were added to refs/heads/feature/GEODE-5212 by this
push:
new 0b077ce GEODE-5212: Hackery to speed up test cycle - only run one test
0b077ce is described below
commit 0b077ce3e1bfdc58fc05906350a96bb79a5fd3bc
Author: Jens Deppe <[email protected]>
AuthorDate: Mon Jul 9 10:59:34 2018 -0700
GEODE-5212: Hackery to speed up test cycle - only run one test
Signed-off-by: Dick Cavender <[email protected]>
---
ci/scripts/test-run.sh | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/ci/scripts/test-run.sh b/ci/scripts/test-run.sh
index 9cb4aab..cc8c88d 100755
--- a/ci/scripts/test-run.sh
+++ b/ci/scripts/test-run.sh
@@ -139,9 +139,19 @@ pushd ${GEODE_BUILD}
set +e
echo "Running tests"
set -x
+ GRADLE_SPECIAL_OPTIONS=""
+ if [ "${GRADLE_TASK}" = ":geode-assembly:acceptanceTest" ]; then
+ GRADLE_SPECIAL_OPTIONS="--tests DeployWithLargeJarTest"
+ fi
+
+ if [ "${GRADLE_TASK}" = "integrationTest" ]; then
+ GRADLE_TASK="geode-core:integrationTest"
+ GRADLE_SPECIAL_OPTIONS="--tests AbstractLauncherIntegrationTest"
+ fi
+
# ./gradlew --no-daemon -x javadoc -x spotlessCheck
:geode-assembly:acceptanceTest --tests
org.apache.geode.management.internal.cli.commands.PutCommandWithJsonTest
./gradlew ${PARALLEL_DUNIT} ${DUNIT_PARALLEL_FORKS} ${DUNIT_DOCKER_IMAGE} \
- --system-prop "java.io.tmpdir=${TMPDIR}" ${DEFAULT_GRADLE_TASK_OPTIONS}
${GRADLE_TASK_OPTIONS} ${GRADLE_TASK}
+ --system-prop "java.io.tmpdir=${TMPDIR}" ${DEFAULT_GRADLE_TASK_OPTIONS}
${GRADLE_TASK_OPTIONS} ${GRADLE_TASK} ${GRADLE_SPECIAL_OPTIONS}
export GRADLE_EXIT_STATUS=$?
set +x
popd