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

Function startServerSubprocess

tailnet/test/integration/integration_test.go:362–370  ·  view source on GitHub ↗
(t *testing.T, topologyName string, networking integration.TestNetworking)

Source from the content-addressed store, hash-verified

360}
361
362func startServerSubprocess(t *testing.T, topologyName string, networking integration.TestNetworking) func() error {
363 _, closeFn := startSubprocess(t, "server", networking.Server.Process.NetNS, []string{
364 "--subprocess",
365 "--test-name=" + topologyName,
366 "--role=server",
367 "--server-listen-addr=" + networking.Server.ListenAddr,
368 })
369 return closeFn
370}
371
372func startSTUNSubprocess(t *testing.T, topologyName string, number int, stun integration.TestNetworkingSTUN) func() error {
373 _, closeFn := startSubprocess(t, "stun", stun.Process.NetNS, []string{

Callers 1

TestIntegrationFunction · 0.85

Calls 1

startSubprocessFunction · 0.85

Tested by

no test coverage detected