DATAREDIS-920 - Polishing.

Restore Make test target. Use make start/stop in CI script.
This commit is contained in:
Mark Paluch
2019-03-19 11:12:33 +01:00
parent 5d5a3e55cf
commit 95775176f5
2 changed files with 5 additions and 5 deletions

View File

@@ -147,9 +147,9 @@ stop-%: work/redis/bin/redis-cli
stop: redis-stop sentinel-stop cluster-stop
test_start:
test:
$(MAKE) start
sleep 2
test_stop:
./mvnw clean test -U -DrunLongTests=true -P$(SPRING_PROFILE) || (echo "maven failed $$?"; exit 1)
$(MAKE) stop

View File

@@ -11,7 +11,7 @@ cd spring-data-redis-github
ln -sf /work
# Launch Redis in proper configuration
make test_start
make start
./mvnw -U clean test -DrunLongTests=true -Pspring5-next
@@ -19,6 +19,6 @@ make test_start
RESULT=$?
# Shutdown Redis
make test_stop
make stop
exit $RESULT