mirror of
https://github.com/coder/coder.git
synced 2026-09-22 05:05:20 +08:00
fix: serve test derp map locally (#14490)
This commit is contained in:
@@ -41,6 +41,7 @@ func TestIPV4Check(t *testing.T) {
|
||||
},
|
||||
})
|
||||
}))
|
||||
t.Cleanup(srv.Close)
|
||||
ctx := testutil.Context(t, testutil.WaitShort)
|
||||
ranges, err := FetchAWSIPRanges(ctx, srv.URL)
|
||||
require.NoError(t, err)
|
||||
|
||||
Reference in New Issue
Block a user