aboutsummaryrefslogtreecommitdiff
path: root/middleware/file/file_test.go
diff options
context:
space:
mode:
authorGravatar Miek Gieben <miek@miek.nl> 2017-06-18 19:50:38 +0100
committerGravatar GitHub <noreply@github.com> 2017-06-18 19:50:38 +0100
commit50ab28aa23066e880592afaf65d8f648d91e3f92 (patch)
tree24aa1137a5011f28966b0bf591961576767f4af0 /middleware/file/file_test.go
parente039bbc322fd28bee2ebe7f174ea85e81b47f982 (diff)
downloadcoredns-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/file_test.go')
-rw-r--r--middleware/file/file_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/middleware/file/file_test.go b/middleware/file/file_test.go
index ae17624f9..02668785b 100644
--- a/middleware/file/file_test.go
+++ b/middleware/file/file_test.go
@@ -5,7 +5,7 @@ import (
"testing"
)
-func BenchmarkParseInsert(b *testing.B) {
+func BenchmarkFileParseInsert(b *testing.B) {
for i := 0; i < b.N; i++ {
Parse(strings.NewReader(dbMiekENTNL), testzone, "stdin", 0)
}