diff --git a/wgengine/magicsock/magicsock_test.go b/wgengine/magicsock/magicsock_test.go index 571efc59b..082f6b0b1 100644 --- a/wgengine/magicsock/magicsock_test.go +++ b/wgengine/magicsock/magicsock_test.go @@ -766,6 +766,10 @@ func newPinger(t *testing.T, logf logger.Logf, src, dst *magicStack) (cleanup fu return cleanup } +// testActiveDiscovery verifies that two magicStacks tied to the given +// devices can establish a direct p2p connection with each other. See +// TestActiveDiscovery for the various configurations of devices that +// get exercised. func testActiveDiscovery(t *testing.T, d *devices) { tstest.PanicOnLog() rc := tstest.NewResourceCheck()