MCPcopy Create free account
hub / github.com/coder/coder / fakeAppStatusUpdater

Struct fakeAppStatusUpdater

scaletest/taskstatus/run_internal_test.go:119–127  ·  view source on GitHub ↗

fakeAppStatusUpdater implements the appStatusUpdater interface for testing.

Source from the content-addressed store, hash-verified

117
118// fakeAppStatusUpdater implements the appStatusUpdater interface for testing.
119type fakeAppStatusUpdater struct {
120 t *testing.T
121 logger slog.Logger
122 agentToken string
123
124 // Channels for controlling the behavior
125 updateStatusCalls chan *agentproto.UpdateAppStatusRequest
126 updateStatusErrors chan error
127}
128
129func newFakeAppStatusUpdater(t *testing.T) *fakeAppStatusUpdater {
130 return &fakeAppStatusUpdater{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected