From 2084f3cef286fd5089e8898bfa5b81f1f10427f1 Mon Sep 17 00:00:00 2001 From: Dave Chen Date: Fri, 15 Apr 2022 11:53:55 +0800 Subject: [PATCH] Drop all stacktrace related validtion The change is needed for `verify-e2e-test-ownership.sh`. The `jq` is re-defined since the structure of test spec is different with v1 and the stacktrace related validation is not available, e.g. `package` and `func`. Signed-off-by: Dave Chen --- hack/verify-e2e-test-ownership.sh | 34 ++++++++++--------------------- 1 file changed, 11 insertions(+), 23 deletions(-) diff --git a/hack/verify-e2e-test-ownership.sh b/hack/verify-e2e-test-ownership.sh index 886666af38c..6cf1a9cbe0a 100755 --- a/hack/verify-e2e-test-ownership.sh +++ b/hack/verify-e2e-test-ownership.sh @@ -16,9 +16,7 @@ # This script verifies the following e2e test ownership policies # - tests MUST start with [sig-foo] -# - tests MUST use top-level SIGDescribe # - tests SHOULD NOT have multiple [sig-foo] tags -# - tests MUST NOT use nested SIGDescribe # TODO: these two can be dropped if KubeDescribe is gone from codebase # - tests MUST NOT have [k8s.io] in test names # - tests MUST NOT use KubeDescribe @@ -73,21 +71,24 @@ function ensure_dependencies() { function generate_results_json() { readonly results_jq=${tmpdir}/results.jq cat >"${results_jq}" <