Skip to content
This repository was archived by the owner on Feb 8, 2021. It is now read-only.

Commit 21806e4

Browse files
committed
[integration-test] fix for specified test case
1 parent f62bbcc commit 21806e4

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

hack/generate-hyper-conf-qa.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ fi
8888
#execute command
8989
if [[ $# -ne 0 ]];then
9090
echo "========== Test Cmd: $@ =========="
91-
cd /go/src/github.com/hyperhq/hypercli/integration-cli && eval $@
91+
cd /go/src/github.com/hyperhq/hypercli/integration-cli && $@
9292
if [[ "$@" == "./build.sh" ]];then
9393
#show make result
9494
if [[ $? -eq 0 ]];then

integration-cli/README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -349,6 +349,13 @@ $ docker run -it --rm \
349349
hyperhq/hypercli-auto-test:qa go test -check.f TestCli -timeout 180m
350350
351351
352+
//test `specified case name`
353+
$ docker run -it --rm \
354+
-e ACCESS_KEY="${ACCESS_KEY}" \
355+
-e SECRET_KEY="${SECRET_KEY}" \
356+
hyperhq/hypercli-auto-test:qa go test -check.f 'TestCliInfo|TestCliFip' -timeout 180m
357+
358+
352359
//test `specified branch` with `packet` apirouter
353360
$ docker run -it --rm \
354361
-e ACCESS_KEY=${ACCESS_KEY} \

0 commit comments

Comments
 (0)