All (non etcd) tests are now local (#105)

We don't need to network to do tests, we up enough local servers
to we don't need to forward to,s say 8.8.8.8
This commit is contained in:
Miek Gieben
2016-04-11 15:56:22 +01:00
parent 31ce53f514
commit 9f651a397b
6 changed files with 89 additions and 45 deletions

View File

@@ -41,7 +41,7 @@ func Etcd(c *Controller) (middleware.Middleware, error) {
func etcdParse(c *Controller) (etcd.Etcd, bool, error) {
stub := make(map[string]proxy.Proxy)
etc := etcd.Etcd{
Proxy: proxy.New([]string{"8.8.8.8:53"}),
Proxy: proxy.New([]string{"8.8.8.8:53", "8.8.4.4:53"}),
PathPrefix: "skydns",
Ctx: context.Background(),
Inflight: &singleflight.Group{},