e2e: upgrade to ginkgo v2 (#3335)

This commit is contained in:
fatedier
2023-02-27 14:44:16 +08:00
committed by GitHub
parent 8c6303c1e5
commit 54eb704650
26 changed files with 100 additions and 270 deletions

View File

@@ -5,7 +5,7 @@ import (
"fmt"
"strings"
"github.com/onsi/ginkgo"
"github.com/onsi/ginkgo/v2"
"github.com/fatedier/frp/pkg/transport"
"github.com/fatedier/frp/test/e2e/framework"

View File

@@ -6,7 +6,7 @@ import (
"strings"
"time"
"github.com/onsi/ginkgo"
"github.com/onsi/ginkgo/v2"
"github.com/fatedier/frp/test/e2e/framework"
"github.com/fatedier/frp/test/e2e/framework/consts"

View File

@@ -4,7 +4,7 @@ import (
"fmt"
"strings"
"github.com/onsi/ginkgo"
"github.com/onsi/ginkgo/v2"
"github.com/fatedier/frp/test/e2e/framework"
"github.com/fatedier/frp/test/e2e/framework/consts"

View File

@@ -5,7 +5,7 @@ import (
"strconv"
"strings"
"github.com/onsi/ginkgo"
"github.com/onsi/ginkgo/v2"
"github.com/fatedier/frp/test/e2e/framework"
"github.com/fatedier/frp/test/e2e/pkg/request"

View File

@@ -3,7 +3,7 @@ package basic
import (
"fmt"
"github.com/onsi/ginkgo"
"github.com/onsi/ginkgo/v2"
"github.com/fatedier/frp/test/e2e/framework"
"github.com/fatedier/frp/test/e2e/framework/consts"

View File

@@ -7,7 +7,7 @@ import (
"strconv"
"github.com/gorilla/websocket"
"github.com/onsi/ginkgo"
"github.com/onsi/ginkgo/v2"
"github.com/fatedier/frp/test/e2e/framework"
"github.com/fatedier/frp/test/e2e/framework/consts"

View File

@@ -5,7 +5,7 @@ import (
"net"
"strconv"
"github.com/onsi/ginkgo"
"github.com/onsi/ginkgo/v2"
"github.com/fatedier/frp/test/e2e/framework"
"github.com/fatedier/frp/test/e2e/framework/consts"