Add skip files to the script and regenerate
Signed-off-by: z1cheng <imchench@gmail.com>
This commit is contained in:
parent
85ca72b8d4
commit
fd1352577f
2 changed files with 11 additions and 4 deletions
|
@ -383,10 +383,6 @@ Do not try to edit it manually.
|
|||
|
||||
- [should return 200 when service has topology hints](https://github.com/kubernetes/ingress-nginx/tree/main/test/e2e/endpointslices/topology.go#L42)
|
||||
|
||||
### [[Setting] ](https://github.com/kubernetes/ingress-nginx/tree/main/test/e2e/framework/framework.go#L214)
|
||||
|
||||
- [](https://github.com/kubernetes/ingress-nginx/tree/main/test/e2e/framework/framework.go#L)
|
||||
|
||||
### [[Shutdown] ingress controller](https://github.com/kubernetes/ingress-nginx/tree/main/test/e2e/gracefulshutdown/shutdown.go#L30)
|
||||
|
||||
- [should shutdown in less than 60 secons without pending connections](https://github.com/kubernetes/ingress-nginx/tree/main/test/e2e/gracefulshutdown/shutdown.go#L40)
|
||||
|
|
|
@ -21,6 +21,12 @@ fi
|
|||
URL="https://github.com/kubernetes/ingress-nginx/tree/main/"
|
||||
DIR=$(cd $(dirname "${BASH_SOURCE}")/.. && pwd -P)
|
||||
|
||||
declare -A skip_files=(
|
||||
["$DIR/test/e2e/framework/framework.go"]=1
|
||||
["$DIR/test/e2e/e2e.go"]=1
|
||||
["$DIR/test/e2e/e2e_test.go"]=1
|
||||
)
|
||||
|
||||
echo "<!---
|
||||
This file is autogenerated!
|
||||
Do not try to edit it manually.
|
||||
|
@ -31,6 +37,11 @@ Do not try to edit it manually.
|
|||
"
|
||||
|
||||
for FILE in $(find $DIR/test/e2e -name "*.go");do
|
||||
# skip files
|
||||
if [ ${skip_files[$FILE]} ]; then
|
||||
continue
|
||||
fi
|
||||
|
||||
# describe definition
|
||||
DESCRIBE=$(cat $FILE | grep -n -oP 'Describe.*')
|
||||
if [ -z "$DESCRIBE" ]; then
|
||||
|
|
Loading…
Reference in a new issue