chore: retry TestAgent_Dial subtests (#19387)

Closes https://github.com/coder/internal/issues/595
This commit is contained in:
Dean Sheather
2025-08-18 23:51:19 +10:00
committed by GitHub
parent a8c89a120f
commit e2ba9e7d62
4 changed files with 307 additions and 58 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ func DERPIsEmbedded(cfg *derpAndSTUNCfg) {
}
// RunDERPAndSTUN creates a DERP mapping for tests.
func RunDERPAndSTUN(t *testing.T, opts ...DERPAndStunOption) (*tailcfg.DERPMap, *derp.Server) {
func RunDERPAndSTUN(t testing.TB, opts ...DERPAndStunOption) (*tailcfg.DERPMap, *derp.Server) {
cfg := new(derpAndSTUNCfg)
for _, o := range opts {
o(cfg)