mirror of
https://github.com/coder/coder.git
synced 2025-07-03 16:13:58 +00:00
- 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
25 lines
446 B
Go
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)
|
|
}
|