aboutsummaryrefslogtreecommitdiff
path: root/middleware/file/dnssec_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/dnssec_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/dnssec_test.go')
-rw-r--r--middleware/file/dnssec_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/middleware/file/dnssec_test.go b/middleware/file/dnssec_test.go
index edd4794e2..95bc74ed1 100644
--- a/middleware/file/dnssec_test.go
+++ b/middleware/file/dnssec_test.go
@@ -169,7 +169,7 @@ func TestLookupDNSSEC(t *testing.T) {
}
}
-func BenchmarkLookupDNSSEC(b *testing.B) {
+func BenchmarkFileLookupDNSSEC(b *testing.B) {
zone, err := Parse(strings.NewReader(dbMiekNLSigned), testzone, "stdin", 0)
if err != nil {
return