Skip to content

Commit

Permalink
ginkgo-e2e: Adds ginkgo focus and dryRun options
Browse files Browse the repository at this point in the history
This will allow us to run tests matching a specific regex when running
ginkgo-e2e.sh. The dryRun option will allow us to make sure we're matching
the right tests.
  • Loading branch information
claudiubelu committed Sep 15, 2021
1 parent 7a0638d commit 5378c1e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions hack/ginkgo-e2e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,12 @@ if [[ -n "${CONFORMANCE_TEST_SKIP_REGEX:-}" ]]; then
ginkgo_args+=("--skip=${CONFORMANCE_TEST_SKIP_REGEX}")
ginkgo_args+=("--seed=1436380640")
fi
if [[ -n "${CONFORMANCE_TEST_FOCUS_REGEX:-}" ]]; then
ginkgo_args+=("--focus=${CONFORMANCE_TEST_FOCUS_REGEX}")
fi
if [[ "${GINKGO_DRYRUN:-}" == true ]]; then
ginkgo_args+=("--dryRun=true")
fi
if [[ -n "${GINKGO_PARALLEL_NODES:-}" ]]; then
ginkgo_args+=("--nodes=${GINKGO_PARALLEL_NODES}")
elif [[ ${GINKGO_PARALLEL} =~ ^[yY]$ ]]; then
Expand Down

0 comments on commit 5378c1e

Please sign in to comment.