MCPcopy
hub / github.com/grafana/tempo / Sleep

Method Sleep

cmd/tempo-vulture/validation.go:105–105  ·  view source on GitHub ↗
(duration time.Duration)

Source from the content-addressed store, hash-verified

103type Clock interface {
104 Now() time.Time
105 Sleep(duration time.Duration)
106}
107
108type RealClock struct{}

Callers 15

TestPollNotificationFunction · 0.65
TestDoForAtLeastFunction · 0.65
testRetainWithConfigFunction · 0.65
TestHedgeFunction · 0.65
fakeServerFunction · 0.65
TestHedgeFunction · 0.65
fakeServerFunction · 0.65
TestHedgeFunction · 0.65
fakeServerFunction · 0.65

Implementers 3

MockTimeSourcemodules/distributor/artificial_delay_t
MockClockcmd/tempo-vulture/mocks.go
RealClockcmd/tempo-vulture/validation.go

Calls

no outgoing calls

Tested by 15

TestPollNotificationFunction · 0.52
TestDoForAtLeastFunction · 0.52
testRetainWithConfigFunction · 0.52
TestHedgeFunction · 0.52
fakeServerFunction · 0.52
TestHedgeFunction · 0.52
fakeServerFunction · 0.52
TestHedgeFunction · 0.52
fakeServerFunction · 0.52