mirror of
https://github.com/fatedier/frp.git
synced 2026-03-20 08:49:16 +08:00
new e2e framework (#1835)
This commit is contained in:
14
test/e2e/framework/util.go
Normal file
14
test/e2e/framework/util.go
Normal file
@@ -0,0 +1,14 @@
|
||||
package framework
|
||||
|
||||
import (
|
||||
"github.com/google/uuid"
|
||||
)
|
||||
|
||||
// RunID is a unique identifier of the e2e run.
|
||||
// Beware that this ID is not the same for all tests in the e2e run, because each Ginkgo node creates it separately.
|
||||
var RunID string
|
||||
|
||||
func init() {
|
||||
uuid, _ := uuid.NewUUID()
|
||||
RunID = uuid.String()
|
||||
}
|
||||
Reference in New Issue
Block a user