diff options
| author | Shelley-BaoYue <baoyue2@huawei.com> | 2023-09-11 10:26:07 +0800 |
|---|---|---|
| committer | Shelley-BaoYue <baoyue2@huawei.com> | 2023-09-11 10:26:07 +0800 |
| commit | d2ee1b664e64c592dae2a08f1b959466cca7d8ba (patch) | |
| tree | 187f5ffae6f8d27a569079ab12d56e5c590332ed /edge/test | |
| parent | compatibility modification (diff) | |
| download | kubeedge-d2ee1b664e64c592dae2a08f1b959466cca7d8ba.tar.gz | |
update ginkgo version v2
Signed-off-by: Shelley-BaoYue <baoyue2@huawei.com>
Diffstat (limited to 'edge/test')
8 files changed, 8 insertions, 8 deletions
diff --git a/edge/test/integration/appdeployment/application_suite_test.go b/edge/test/integration/appdeployment/application_suite_test.go index b991bd5f6..17e76b6eb 100644 --- a/edge/test/integration/appdeployment/application_suite_test.go +++ b/edge/test/integration/appdeployment/application_suite_test.go @@ -19,7 +19,7 @@ package application_test import ( "testing" - . "github.com/onsi/ginkgo" + . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" "github.com/kubeedge/kubeedge/edge/test/integration/utils" diff --git a/edge/test/integration/appdeployment/application_test.go b/edge/test/integration/appdeployment/application_test.go index 4385609ee..d1bda2403 100644 --- a/edge/test/integration/appdeployment/application_test.go +++ b/edge/test/integration/appdeployment/application_test.go @@ -20,7 +20,7 @@ import ( "net/http" "time" - . "github.com/onsi/ginkgo" + . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" v1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/api/resource" diff --git a/edge/test/integration/device/device_suite_test.go b/edge/test/integration/device/device_suite_test.go index 56d2519f6..6018f863e 100644 --- a/edge/test/integration/device/device_suite_test.go +++ b/edge/test/integration/device/device_suite_test.go @@ -21,7 +21,7 @@ import ( "testing" "time" - . "github.com/onsi/ginkgo" + . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" "github.com/kubeedge/kubeedge/edge/pkg/devicetwin/dtcommon" diff --git a/edge/test/integration/device/device_test.go b/edge/test/integration/device/device_test.go index 0a0ebefc1..800f66e9a 100755 --- a/edge/test/integration/device/device_test.go +++ b/edge/test/integration/device/device_test.go @@ -23,7 +23,7 @@ import ( MQTT "github.com/eclipse/paho.mqtt.golang" _ "github.com/mattn/go-sqlite3" - . "github.com/onsi/ginkgo" + . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" "github.com/kubeedge/kubeedge/edge/pkg/devicetwin/dtcommon" diff --git a/edge/test/integration/metaserver/metaserver_suite_test.go b/edge/test/integration/metaserver/metaserver_suite_test.go index e2998efbd..a73ec3c14 100644 --- a/edge/test/integration/metaserver/metaserver_suite_test.go +++ b/edge/test/integration/metaserver/metaserver_suite_test.go @@ -3,7 +3,7 @@ package metaserver_test import ( "testing" - . "github.com/onsi/ginkgo" + . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" "github.com/kubeedge/kubeedge/edge/test/integration/utils" diff --git a/edge/test/integration/metaserver/metaserver_test.go b/edge/test/integration/metaserver/metaserver_test.go index 681537919..09fb2eb07 100644 --- a/edge/test/integration/metaserver/metaserver_test.go +++ b/edge/test/integration/metaserver/metaserver_test.go @@ -3,7 +3,7 @@ package metaserver import ( "net/http" - . "github.com/onsi/ginkgo" + . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" "k8s.io/apimachinery/pkg/runtime/schema" ) diff --git a/edge/test/integration/scripts/execute.sh b/edge/test/integration/scripts/execute.sh index 60af398e6..344212938 100755 --- a/edge/test/integration/scripts/execute.sh +++ b/edge/test/integration/scripts/execute.sh @@ -30,7 +30,7 @@ function do_preparation() { sudo mkdir -p /var/lib/kubeedge which ginkgo &>/dev/null || { - go install github.com/onsi/ginkgo/ginkgo@latest + go install github.com/onsi/ginkgo/v2/ginkgo@latest sudo cp $GOPATH/bin/ginkgo /usr/bin/ } diff --git a/edge/test/integration/utils/common/log.go b/edge/test/integration/utils/common/log.go index 1bc3a71ea..892a6076f 100755 --- a/edge/test/integration/utils/common/log.go +++ b/edge/test/integration/utils/common/log.go @@ -20,7 +20,7 @@ import ( "fmt" "time" - "github.com/onsi/ginkgo" + "github.com/onsi/ginkgo/v2" ) // nowStamp get time in millisec |
