diff options
author | 2017-06-18 19:50:38 +0100 | |
---|---|---|
committer | 2017-06-18 19:50:38 +0100 | |
commit | 50ab28aa23066e880592afaf65d8f648d91e3f92 (patch) | |
tree | 24aa1137a5011f28966b0bf591961576767f4af0 /middleware/file/lookup_test.go | |
parent | e039bbc322fd28bee2ebe7f174ea85e81b47f982 (diff) | |
download | coredns-50ab28aa23066e880592afaf65d8f648d91e3f92.tar.gz coredns-50ab28aa23066e880592afaf65d8f648d91e3f92.tar.zst coredns-50ab28aa23066e880592afaf65d8f648d91e3f92.zip |
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.
Diffstat (limited to 'middleware/file/lookup_test.go')
-rw-r--r-- | middleware/file/lookup_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/middleware/file/lookup_test.go b/middleware/file/lookup_test.go index 63bfb9fa8..9be6ae542 100644 --- a/middleware/file/lookup_test.go +++ b/middleware/file/lookup_test.go @@ -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 |