mirror of
https://github.com/coder/coder.git
synced 2026-06-02 20:48:20 +00:00
chore: retry TestAgent_Dial subtests (#19387)
Closes https://github.com/coder/internal/issues/595
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user