1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- package e2e
- import (
- "testing"
- "github.com/fatedier/frp/test/e2e/framework"
- "github.com/fatedier/frp/utils/log"
- "github.com/onsi/ginkgo"
- "github.com/onsi/ginkgo/config"
- "github.com/onsi/gomega"
- )
- 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)
- log.Info("Starting e2e run %q on Ginkgo node %d of total %d",
- framework.RunID, config.GinkgoConfig.ParallelNode, config.GinkgoConfig.ParallelTotal)
- ginkgo.RunSpecs(t, "frp e2e suite")
- }
- func setupSuite() {
-
-
- }
- func setupSuitePerGinkgoNode() {
-
- }
|