123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- package e2e
- import (
- "testing"
- "github.com/onsi/ginkgo/v2"
- "github.com/onsi/gomega"
- "github.com/fatedier/frp/pkg/util/log"
- "github.com/fatedier/frp/test/e2e/framework"
- )
- var _ = ginkgo.SynchronizedBeforeSuite(func() []byte {
- setupSuite()
- return nil
- }, func(data []byte) {
-
- setupSuitePerGinkgoNode()
- })
- var _ = ginkgo.SynchronizedAfterSuite(func() {
- CleanupSuite()
- }, func() {
- AfterSuiteActions()
- })
- func RunE2ETests(t *testing.T) {
- gomega.RegisterFailHandler(framework.Fail)
- suiteConfig, reporterConfig := ginkgo.GinkgoConfiguration()
-
- suiteConfig.EmitSpecProgress = true
-
- suiteConfig.RandomizeAllSpecs = true
- log.Infof("Starting e2e run %q on Ginkgo node %d of total %d",
- framework.RunID, suiteConfig.ParallelProcess, suiteConfig.ParallelTotal)
- ginkgo.RunSpecs(t, "frp e2e suite", suiteConfig, reporterConfig)
- }
- func setupSuite() {
-
- }
- func setupSuitePerGinkgoNode() {
-
- }
|