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

Function startSTUNSubprocess

tailnet/test/integration/integration_test.go:372–381  ·  view source on GitHub ↗
(t *testing.T, topologyName string, number int, stun integration.TestNetworkingSTUN)

Source from the content-addressed store, hash-verified

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{
374 "--subprocess",
375 "--test-name=" + topologyName,
376 "--role=stun",
377 "--stun-number=" + strconv.Itoa(number),
378 "--stun-listen-addr=" + stun.ListenAddr,
379 })
380 return closeFn
381}
382
383func startClientSubprocess(t *testing.T, topologyName string, networking integration.TestNetworking, me integration.Client, derpMapPath string) (<-chan error, func() error) {
384 var (

Callers 1

TestIntegrationFunction · 0.85

Calls 1

startSubprocessFunction · 0.85

Tested by

no test coverage detected