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

Function TestCoordinator_Lost

tailnet/coordinator_test.go:267–273  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

265}
266
267func TestCoordinator_Lost(t *testing.T) {
268 t.Parallel()
269 logger := testutil.Logger(t)
270 coordinator := tailnet.NewCoordinator(logger)
271 ctx := testutil.Context(t, testutil.WaitShort)
272 test.LostTest(ctx, t, coordinator)
273}
274
275// TestCoordinatorPropogatedPeerContext tests that the context for a specific peer
276// is propogated through to the `Authorize“ method of the coordinatee auth

Callers

nothing calls this directly

Calls 4

LoggerFunction · 0.92
NewCoordinatorFunction · 0.92
ContextFunction · 0.92
LostTestFunction · 0.92

Tested by

no test coverage detected