Atlas › Test

TestGenerateRequestID

Exact test identity: go.temporal.io/server/common/schedules/TestGenerateRequestID

Package
go.temporal.io/server/common/schedules
Suite / test hierarchy
TestGenerateRequestID
Test
TestGenerateRequestID
Introduced at
id.go ×1 Frontier kind: Joint frontier
Covered ranges
3
Covered lines
13
Covered files
1

Covered source

Expand a file to inspect source; the > gutter marks covered lines.

go.temporal.io/server/common/schedules/id.go 13 covered LOC · 3 ranges

Open complete file

23 nominal time.Time,
24 actual time.Time,
25 > ) string { id.go
26 > if backfillID == "" {
27 > backfillID = "auto" id.go
28 > }
29 > return fmt.Sprintf( id.go
30 > "sched-%s-%s-%s-%d-%d-%d",
31 > backfillID,
32 > namespaceID,
33 > scheduleID,
34 > conflictToken,
35 > nominal.UnixMilli(),
36 > actual.UnixMilli(),
37 > )
38 }
39