fix: Replace access URL for built-in DERP servers (#4197)

Fixes #4195.
This commit is contained in:
Kyle Carberry
2022-09-26 12:56:04 -05:00
committed by GitHub
parent ee4b934601
commit 39cf329404
8 changed files with 133 additions and 24 deletions

View File

@ -481,19 +481,6 @@ func TestAgent(t *testing.T) {
}
})
t.Run("Tailnet", func(t *testing.T) {
t.Parallel()
derpMap := tailnettest.RunDERPAndSTUN(t)
conn, _ := setupAgent(t, codersdk.WorkspaceAgentMetadata{
DERPMap: derpMap,
}, 0)
defer conn.Close()
require.Eventually(t, func() bool {
_, err := conn.Ping()
return err == nil
}, testutil.WaitLong, testutil.IntervalFast)
})
t.Run("Speedtest", func(t *testing.T) {
t.Parallel()
if testing.Short() {