MCPcopy
hub / github.com/micro/go-micro / getCallCount

Method getCallCount

registry/cache/cache_test.go:69–71  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

67}
68
69func (m *mockRegistry) getCallCount() int32 {
70 return atomic.LoadInt32(&m.callCount)
71}
72
73// TestSingleflightPreventsStampede verifies that concurrent requests for the same service
74// only result in a single call to the underlying registry

Calls

no outgoing calls

Tested by

no test coverage detected