Support for using OpenFeign in Spring Cloud apps
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -o errexit
|
|
|
|
|
|
|
|
mkdir -p target
|
|
|
|
|
|
|
|
SCRIPT_URL="https://raw.githubusercontent.com/spring-cloud-samples/brewery/master/runAcceptanceTests.sh"
|
|
|
|
AT_WHAT_TO_TEST="EUREKA"
|
|
|
|
|
|
|
|
cd target
|
|
|
|
|
|
|
|
curl "${SCRIPT_URL}" --output runAcceptanceTests.sh
|
|
|
|
|
|
|
|
chmod +x runAcceptanceTests.sh
|
|
|
|
|
|
|
|
echo "Killing all running apps"
|
|
|
|
./runAcceptanceTests.sh -t "${AT_WHAT_TO_TEST}" -n
|
|
|
|
|
|
|
|
./runAcceptanceTests.sh -t "${AT_WHAT_TO_TEST}" -k
|
|
|
|
|
|
|
|
SCRIPT_URL="https://raw.githubusercontent.com/spring-cloud-samples/tests/master/scripts/runTests.sh"
|
|
|
|
|
|
|
|
curl "${SCRIPT_URL}" --output runIntegrationTests.sh
|
|
|
|
|
|
|
|
chmod +x runIntegrationTests.sh
|
|
|
|
|
|
|
|
./runIntegrationTests.sh
|