DATAREDIS-920 - Polishing.
Restore Make test target. Use make start/stop in CI script.
This commit is contained in:
6
Makefile
6
Makefile
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user