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

Function newFakeAppStatusUpdater

scaletest/taskstatus/run_internal_test.go:129–135  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

127}
128
129func newFakeAppStatusUpdater(t *testing.T) *fakeAppStatusUpdater {
130 return &fakeAppStatusUpdater{
131 t: t,
132 updateStatusCalls: make(chan *agentproto.UpdateAppStatusRequest),
133 updateStatusErrors: make(chan error, 1),
134 }
135}
136
137func (u *fakeAppStatusUpdater) initialize(_ context.Context, logger slog.Logger, agentToken string) error {
138 u.logger = logger

Callers 5

TestRunner_RunFunction · 0.85
TestRunner_CleanupFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected