MCPcopy Index your code
hub / github.com/cortexproject/cortex / Done

Method Done

cmd/cortex/main_test.go:191–199  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

189}
190
191func (co *capturedOutput) Done() (stdout []byte, stderr []byte) {
192 // we need to close writers for readers to stop
193 _ = co.stdoutWriter.Close()
194 _ = co.stderrWriter.Close()
195
196 co.wg.Wait()
197
198 return co.stdoutBuf.Bytes(), co.stderrBuf.Bytes()
199}
200
201func TestExpandEnv(t *testing.T) {
202 var tests = []struct {

Callers 15

runQuerierShardingTestFunction · 0.80
runQueryFrontendTestFunction · 0.80
TestConcurrentGrpcCallsFunction · 0.80
TestKVWatchAndDeleteFunction · 0.80
shutdownMethod · 0.80
TestWriteRequest_SignFunction · 0.80
sendToLifecyclerLoopMethod · 0.80
loopMethod · 0.80
DoBatchFunction · 0.80
runningMethod · 0.80

Calls 3

CloseMethod · 0.65
BytesMethod · 0.65
WaitMethod · 0.45

Tested by

no test coverage detected