Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/grafana/tempo
/ MockTimeSource
Struct
MockTimeSource
modules/distributor/artificial_delay_test.go:103–106 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
101
}
102
103
type
MockTimeSource
struct
{
104
CurrentTime time.Time
105
Slept time.Duration
106
}
107
108
func
(m *MockTimeSource) Now() time.Time {
109
return
m.CurrentTime
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected