Logo
Explore Help
Sign In
Mirrors/coredns
1
0
Fork 0
You've already forked coredns
mirror of https://github.com/coredns/coredns.git synced 2025-10-30 17:53:21 -04:00
Code Issues Packages Projects Releases Wiki Activity
Files
990460ee7caffe752167b5307d7a5bffab37da61
coredns/middleware/file/file_test.go

13 lines
185 B
Go
Raw Normal View History

First commit
2016-03-18 20:57:35 +00:00
package file
empty non-terminal support When looking for a name in tree, return wether we got to a longer one - if so we had an ent. Add tests + dnssec tests and refactor the tests as well a bit.
2016-04-02 16:56:16 +01:00
import (
"strings"
"testing"
)
func BenchmarkParseInsert(b *testing.B) {
for i := 0; i < b.N; i++ {
middleware/file: don't reload zone when SOA isn't changed (#707) * middleware/file: don't reload zone when SOA isn't changed Give Parse an extra argument which is the SOA's serial, if > 0 we check against the just parsed SOA and then just return. Most notable use is in reload.go which is both used in the file and auto middleware. Fixes #415 * PR comments
2017-06-08 18:43:11 +01:00
Parse(strings.NewReader(dbMiekENTNL), testzone, "stdin", 0)
empty non-terminal support When looking for a name in tree, return wether we got to a longer one - if so we had an ent. Add tests + dnssec tests and refactor the tests as well a bit.
2016-04-02 16:56:16 +01:00
}
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.0 Page: 30ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API