mirror of
https://github.com/fatedier/frp.git
synced 2024-11-28 05:15:08 +08:00
19 lines
370 B
Go
19 lines
370 B
Go
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()
|
|
}
|
|
|
|
func GenPortName(name string) string {
|
|
return "Port" + name
|
|
}
|