spring-boot/spring-boot-tests/spring-boot-integration-tests/spring-boot-launch-script-t.../src/test/resources/scripts/launch-with-single-run-arg.sh

7 lines
193 B
Bash
Executable File

source ./test-functions.sh
install_service
echo 'RUN_ARGS=--server.port=8081' > /test-service/spring-boot-app.conf
start_service
await_app http://127.0.0.1:8081/
curl -s http://127.0.0.1:8081/