MCPcopy
hub / github.com/uber/aresdb / testFinish

Function testFinish

cluster/topology/dynamic_test.go:160–165  ·  view source on GitHub ↗
(ctrl *gomock.Controller, watch *testWatch)

Source from the content-addressed store, hash-verified

158}
159
160func testFinish(ctrl *gomock.Controller, watch *testWatch) {
161 watch.Lock()
162 defer watch.Unlock()
163 // Ensure only single writers to gomock.Controller
164 ctrl.Finish()
165}
166
167type testWatch struct {
168 sync.RWMutex

Callers 1

dynamic_test.goFile · 0.85

Calls 2

LockMethod · 0.45
UnlockMethod · 0.45

Tested by

no test coverage detected