mw/file: rename to BenchmarkFileLookup (#741)

In grafana we miss the context of where this is called, make the name
more descriptive.

Also test the GH webhook.
This commit is contained in:
Miek Gieben
2017-06-18 19:50:38 +01:00
committed by GitHub
parent e039bbc322
commit 50ab28aa23
4 changed files with 4 additions and 4 deletions

View File

@@ -154,7 +154,7 @@ func TestLookupNil(t *testing.T) {
fm.ServeDNS(ctx, rec, m)
}
func BenchmarkLookup(b *testing.B) {
func BenchmarkFileLookup(b *testing.B) {
zone, err := Parse(strings.NewReader(dbMiekNL), testzone, "stdin", 0)
if err != nil {
return