Files
coder/tailnet/tailnettest/tailnettest_test.go
Cian Johnston 7b88776403 chore(testutil): add testutil.GoleakOptions (#16070)
- Adds `testutil.GoleakOptions` and consolidates existing options to
this location
- Pre-emptively adds required ignore for this Dependabot PR to pass CI
https://github.com/coder/coder/pull/16066
2025-01-08 15:38:37 +00:00

25 lines
446 B
Go

package tailnettest_test
import (
"testing"
"go.uber.org/goleak"
"github.com/coder/coder/v2/tailnet/tailnettest"
"github.com/coder/coder/v2/testutil"
)
func TestMain(m *testing.M) {
goleak.VerifyTestMain(m, testutil.GoleakOptions...)
}
func TestRunDERPAndSTUN(t *testing.T) {
t.Parallel()
_, _ = tailnettest.RunDERPAndSTUN(t)
}
func TestRunDERPOnlyWebSockets(t *testing.T) {
t.Parallel()
_ = tailnettest.RunDERPOnlyWebSockets(t)
}