mirror of
https://github.com/coredns/coredns.git
synced 2025-11-09 13:32:16 -05:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user