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

Function TestCoordinator_GracefulDisconnect

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

Source from the content-addressed store, hash-verified

257}
258
259func TestCoordinator_GracefulDisconnect(t *testing.T) {
260 t.Parallel()
261 logger := testutil.Logger(t)
262 coordinator := tailnet.NewCoordinator(logger)
263 ctx := testutil.Context(t, testutil.WaitShort)
264 test.GracefulDisconnectTest(ctx, t, coordinator)
265}
266
267func TestCoordinator_Lost(t *testing.T) {
268 t.Parallel()

Callers

nothing calls this directly

Calls 4

LoggerFunction · 0.92
NewCoordinatorFunction · 0.92
ContextFunction · 0.92
GracefulDisconnectTestFunction · 0.92

Tested by

no test coverage detected