MCPcopy Index your code
hub / github.com/coder/coder / getOutputWithWait

Function getOutputWithWait

agent/agentproc/api_test.go:931–936  ·  view source on GitHub ↗
(t *testing.T, handler http.Handler, id string)

Source from the content-addressed store, hash-verified

929}
930
931func getOutputWithWait(t *testing.T, handler http.Handler, id string) *httptest.ResponseRecorder {
932 t.Helper()
933 ctx, cancel := context.WithTimeout(context.Background(), testutil.WaitLong)
934 defer cancel()
935 return getOutputWithWaitCtx(ctx, t, handler, id)
936}
937
938func getOutputWithWaitCtx(ctx context.Context, t *testing.T, handler http.Handler, id string) *httptest.ResponseRecorder {
939 t.Helper()

Callers 1

TestProcessOutputFunction · 0.85

Calls 2

getOutputWithWaitCtxFunction · 0.85
HelperMethod · 0.65

Tested by

no test coverage detected