Atlas › Test

TestEventReappliedID

Exact test identity: go.temporal.io/server/common/definition/TestResourceDeduplicationSuite/TestEventReappliedID

Package
go.temporal.io/server/common/definition
Suite / test hierarchy
TestResourceDeduplicationSuite/TestEventReappliedID
Test
TestEventReappliedID
Introduced at
resource_dedup.go ×1 Frontier kind: Joint frontier
Covered ranges
2
Covered lines
15
Covered files
1

Covered source

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

go.temporal.io/server/common/definition/resource_dedup.go 15 covered LOC · 2 ranges

Open complete file

35 eventID int64,
36 version int64,
37 > ) EventReappliedID { resource_dedup.go
38 >
39 > newID := fmt.Sprintf(
40 > eventReappliedIDTemplate,
41 > runID,
42 > eventID,
43 > version,
44 > )
45 > return EventReappliedID{
46 > id: newID,
47 > }
48 > }
49
50 // GetID returns id of EventReappliedID
51 > func (e EventReappliedID) GetID() string { resource_dedup.go
52 > return e.id
53 > }
54
55 // GenerateDeduplicationKey generates deduplication key