util.go 306 B

1234567891011121314
  1. package framework
  2. import (
  3. "github.com/google/uuid"
  4. )
  5. // RunID is a unique identifier of the e2e run.
  6. // Beware that this ID is not the same for all tests in the e2e run, because each Ginkgo node creates it separately.
  7. var RunID string
  8. func init() {
  9. uuid, _ := uuid.NewUUID()
  10. RunID = uuid.String()
  11. }