Skip to content

Commit 43d1884

Browse files
author
Les Vogel
committed
Silent & show-error
1 parent 5970352 commit 43d1884

2 files changed

Lines changed: 3 additions & 12 deletions

File tree

.kokoro/system_tests.sh

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,6 @@ ERROR_OUTPUT_DIR="$(mktemp -d)"
2626
# trap 'rm -r "${ERROR_OUTPUT_DIR}"' EXIT
2727
URL="dot-lesv-qa-999.prom-qa.sandbox.google.com"
2828

29-
# $1 - project
30-
# $2 - PATH
31-
# $3 - search string
32-
function TestIt() {
33-
curl -X GET "https://${1}-${URL}/${2}" | \
34-
tee "${ERROR_OUTPUT_DIR}/response.txt" | \
35-
grep "${3}"
36-
}
37-
3829
export GOOGLE_APPLICATION_CREDENTIALS=${KOKORO_GFILE_DIR}/service-acct.json
3930
export GOOGLE_CLOUD_PROJECT=java-docs-samples-testing
4031
export PATH=/google-cloud-sdk/bin:$PATH
@@ -73,5 +64,5 @@ gcloud auth activate-service-account\
7364

7465
./deployAll.sh
7566

76-
echo "******** DONE ********"
67+
echo "******** Success ********"
7768

appengine-standard-java8/deployAll.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export CLOUDSDK_API_ENDPOINT_OVERRIDES_APPENGINE='https://staging-appengine.sand
1313
# $2 - PATH
1414
# $3 - search string
1515
function TestIt() {
16-
curl -X GET "https://${1}-${URL}/${2}" | \
16+
curl -s --show-error "https://${1}-${URL}/${2}" | \
1717
tee -a "${ERROR_OUTPUT_DIR}/response.txt" | \
1818
grep "${3}"
1919
}
@@ -50,4 +50,4 @@ TestIt "kotlin-spark-appengine-standard" "hello" \
5050
"Hello Spark Kotlin running on Java8 App Engine Standard."
5151

5252
TestIt "sparkjava-appengine-standard" "" \
53-
"Hello from SparkJava running on GAE Standard Java8 runtime."
53+
"Hello from SparkJava running on GAE Standard Java8 runtime"

0 commit comments

Comments
 (0)