Skip to content

Commit

Permalink
add quickstart certs test in run_all_tests function (#1338)
Browse files Browse the repository at this point in the history
add quickstart certs test in run_all_tests function; fix device id to be consistent with test name; and fix syntax for container registry default value.
  • Loading branch information
philipktlin authored Jun 14, 2019
1 parent 60afea4 commit 968148c
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions scripts/linux/runE2ETest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -390,6 +390,10 @@ function run_all_tests()
run_directmethodmqttws_test && testRet=$? || testRet=$?
if (( funcRet = 0 )); then funcRet=$testRet; fi

TEST_NAME='QuickstartCerts'
run_quickstartcerts_test && testRet=$? || testRet=$?
if (( funcRet = 0 )); then funcRet=$testRet; fi

TEST_NAME='TempFilter'
run_tempfilter_test && testRet=$? || testRet=$?
if (( funcRet = 0 )); then funcRet=$testRet; fi
Expand Down Expand Up @@ -546,7 +550,7 @@ function run_quickstartcerts_test() {
print_highlighted_message "Run Quickstart Certs test for $image_architecture_label"
test_setup

local device_id="e2e-$RELEASE_LABEL-Linux-$image_architecture_label-QuickstartCert"
local device_id="e2e-$RELEASE_LABEL-Linux-$image_architecture_label-QuickstartCerts"
test_start_time="$(date '+%Y-%m-%d %H:%M:%S')"
print_highlighted_message "Run Quickstart Certs test with -d '$device_id' started at $test_start_time"

Expand Down Expand Up @@ -844,7 +848,7 @@ function usage() {

process_args "$@"

CONTAINER_REGISTRY="${CONTAINER_REGISTRY:edgebuilds.azurecr.io}"
CONTAINER_REGISTRY="${CONTAINER_REGISTRY:-edgebuilds.azurecr.io}"
E2E_TEST_DIR="${E2E_TEST_DIR:-$(pwd)}"
LONG_HAUL_PROTOCOL_HEAD="${LONG_HAUL_PROTOCOL_HEAD:-amqp}"
SNITCH_BUILD_NUMBER="${SNITCH_BUILD_NUMBER:-1.1}"
Expand Down

0 comments on commit 968148c

Please sign in to comment.