mrasu 643dfd7419 Fix a flaky test by not depending on Google (#2565)
TestLookupAutoPathErratic sometimes fail on TravisCI saying below

```
=== RUN   TestLookupAutoPathErratic
--- FAIL: TestLookupAutoPathErratic (8.30s)
    erratic_autopath_test.go:39: Test 0, failed to sent query: "read udp [::1]:39758->[::1]:56643: i/o timeout"
FAIL
```

The failure happens when Google replies slowly.
This PR changes to not use Google but run CoreDNS locally and proxy to the server.

---

Because the failure depends on Google, sometimes it happens frequently but sometimes it doesn't happen.
I hope following test help you reproduce it.

```
func TestLookupAutoPathErratic2(t *testing.T) {
	for i := 0; i < 200; i++ {
		TestLookupAutoPathErratic(t)
	}
}
```

or I can reproduce it by changing proxy to other DNS like 1.1.1.1 instead of 8.8.8.8 too
2019-02-17 08:33:51 +00:00
..
2018-07-19 16:23:06 +01:00
2016-09-25 08:39:20 +01:00
2018-12-06 21:18:11 +00:00
2018-07-19 16:23:06 +01:00
2018-07-19 16:23:06 +01:00
2019-01-29 10:21:19 -05:00
2018-07-19 16:23:06 +01:00
2018-08-14 08:55:55 -07:00
2018-07-19 16:23:06 +01:00
2018-07-28 10:32:13 +01:00
2018-07-19 16:23:06 +01:00