mirror of
https://github.com/fatedier/frp.git
synced 2026-01-11 22:23:12 +00:00
new e2e framework (#1835)
This commit is contained in:
16
test/e2e/suites.go
Normal file
16
test/e2e/suites.go
Normal file
@@ -0,0 +1,16 @@
|
||||
package e2e
|
||||
|
||||
// CleanupSuite is the boilerplate that can be used after tests on ginkgo were run, on the SynchronizedAfterSuite step.
|
||||
// Similar to SynchronizedBeforeSuite, we want to run some operations only once (such as collecting cluster logs).
|
||||
// Here, the order of functions is reversed; first, the function which runs everywhere,
|
||||
// and then the function that only runs on the first Ginkgo node.
|
||||
func CleanupSuite() {
|
||||
// Run on all Ginkgo nodes
|
||||
// TODO
|
||||
}
|
||||
|
||||
// AfterSuiteActions are actions that are run on ginkgo's SynchronizedAfterSuite
|
||||
func AfterSuiteActions() {
|
||||
// Run only Ginkgo on node 1
|
||||
// TODO
|
||||
}
|
||||
Reference in New Issue
Block a user