migrate ginkgo to v2 (#8826)

* Migrate ginkgo to v2

* Update test/e2e/annotations/ipwhitelist.go

Co-authored-by: Jintao Zhang <tao12345666333@163.com>

* Update test/e2e/annotations/modsecurity/modsecurity.go

Co-authored-by: Jintao Zhang <tao12345666333@163.com>

* Update test/e2e/settings/access_log.go

Co-authored-by: Jintao Zhang <tao12345666333@163.com>

* remove unnecessary blank line

* re-order packages

* less change

Co-authored-by: Jintao Zhang <tao12345666333@163.com>
This commit is contained in:
Lien Li 2022-08-01 00:16:28 +08:00 committed by GitHub
parent 5e6093cf59
commit 5b0cc8edca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
129 changed files with 152 additions and 156 deletions

View file

@ -20,7 +20,8 @@ import (
"net/http"
"strings"
"github.com/onsi/ginkgo"
"github.com/onsi/ginkgo/v2"
"k8s.io/ingress-nginx/test/e2e/framework"
)