MCPcopy
hub / github.com/grpc/grpc-go / run

Method run

balancer/rls/internal/test/e2e/rls_child_policy.go:129–131  ·  view source on GitHub ↗

run is a dummy goroutine to make sure that child policies are closed at the end of tests. If they are not closed, these goroutines will be picked up by the leak checker and tests will fail.

()

Source from the content-addressed store, hash-verified

127// end of tests. If they are not closed, these goroutines will be picked up by
128// the leak checker and tests will fail.
129func (b *bal) run() {
130 <-b.done.Done()
131}

Callers 1

BuildMethod · 0.95

Calls 1

DoneMethod · 0.45

Tested by

no test coverage detected