spring-boot/spring-boot-tests/spring-boot-integration-tests/spring-boot-launch-script-t.../src/test/resources/scripts/launch-with-multiple-java-o...

7 lines
242 B
Bash
Executable File

source ./test-functions.sh
install_service
echo 'JAVA_OPTS="-Dserver.port=8081 -Dserver.servlet.context-path=/test"' > /test-service/spring-boot-app.conf
start_service
await_app http://127.0.0.1:8081/test/
curl -s http://127.0.0.1:8081/test/