(t *testing.T, topologyName string, number int, stun integration.TestNetworkingSTUN)
| 370 | } |
| 371 | |
| 372 | func 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 | |
| 383 | func startClientSubprocess(t *testing.T, topologyName string, networking integration.TestNetworking, me integration.Client, derpMapPath string) (<-chan error, func() error) { |
| 384 | var ( |
no test coverage detected