()
| 67 | } |
| 68 | |
| 69 | func (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 |
no outgoing calls
no test coverage detected