mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-20 18:31:15 +00:00
Switch to use dry-run
option to generate test spec
`dryRun` option is deprecated and will not be able to generate test spec. Signed-off-by: Dave Chen <dave.chen@arm.com>
This commit is contained in:
parent
f792256954
commit
b57bade50c
@ -64,7 +64,7 @@ function ensure_dependencies() {
|
||||
hack/make-rules/build.sh test/e2e/e2e.test
|
||||
fi
|
||||
if ! { [ -f "${spec_summaries}" ] && [[ "${REUSE_BUILD_OUTPUT}" =~ ^[yY]$ ]]; }; then
|
||||
"${ginkgo}" --dryRun=true "${e2e_test}" -- --spec-dump "${spec_summaries}" > /dev/null
|
||||
"${ginkgo}" --dry-run=true "${e2e_test}" -- --spec-dump "${spec_summaries}" > /dev/null
|
||||
fi
|
||||
}
|
||||
|
||||
|
@ -29,4 +29,4 @@ cd "${KUBE_ROOT}"
|
||||
hack/make-rules/build.sh github.com/onsi/ginkgo/v2/ginkgo test/e2e/e2e.test
|
||||
|
||||
# dump spec
|
||||
./_output/bin/ginkgo --dryRun=true --focus='[Conformance]' ./_output/bin/e2e.test -- --spec-dump "${KUBE_ROOT}/_output/specsummaries.json" > /dev/null
|
||||
./_output/bin/ginkgo --dry-run=true --focus='[Conformance]' ./_output/bin/e2e.test -- --spec-dump "${KUBE_ROOT}/_output/specsummaries.json" > /dev/null
|
||||
|
Loading…
Reference in New Issue
Block a user