12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- package e2e
- import (
- "testing"
- "github.com/fatedier/frp/pkg/util/log"
- "github.com/fatedier/frp/test/e2e/framework"
- "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() {
-
- }
|