Merge pull request #13650 from hakman/e2e_scenario_aws-lb-controller

Use -ginkgo.junit-report instead of -ginkgo.reportFile
This commit is contained in:
Kubernetes Prow Robot 2022-05-14 13:31:19 -07:00 committed by GitHub
commit d44030184b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 3 deletions

View File

@ -37,7 +37,7 @@ ZONE=$(${KOPS} get ig -o json | jq -r '[.[] | select(.spec.role=="Node") | .spec
REGION=${ZONE%?}
REPORT_DIR="${ARTIFACTS:-$(pwd)/_artifacts}/aws-lb-controller/"
REPORT_DIR="${ARTIFACTS:-$(pwd)/_artifacts}/aws-lb-controller"
# shellcheck disable=SC2164
cd "$(mktemp -dt kops.XXXXXXXXX)"
@ -45,14 +45,16 @@ go install github.com/onsi/ginkgo/ginkgo@latest
git clone https://github.com/kubernetes-sigs/aws-load-balancer-controller .
mkdir -p "${REPORT_DIR}"
ginkgo -v -r test/e2e/ingress -- \
-cluster-name="${CLUSTER_NAME}" \
-aws-region="${REGION}" \
-aws-vpc-id="$VPC" \
-ginkgo.reportFile="${REPORT_DIR}/junit-ingress.xml"
-ginkgo.junit-report="${REPORT_DIR}/junit-ingress.xml"
ginkgo -v -r test/e2e/service -- \
-cluster-name="${CLUSTER_NAME}" \
-aws-region="${REGION}" \
-aws-vpc-id="$VPC" \
-ginkgo.reportFile="${REPORT_DIR}/junit-service.xml"
-ginkgo.junit-report="${REPORT_DIR}/junit-service.xml"