mirror of
https://github.com/coredns/coredns.git
synced 2025-12-06 10:25:10 -05:00
dont panic when from-zone cannot be normalized (#5171)
Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
This commit is contained in:
@@ -30,6 +30,7 @@ func TestSetup(t *testing.T) {
|
||||
{"grpc . 127.0.0.1 {\nblaatl\n}\n", true, "", nil, "unknown property"},
|
||||
{`grpc . ::1
|
||||
grpc com ::2`, true, "", nil, "plugin"},
|
||||
{"grpc xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 127.0.0.1", true, "", nil, "unable to normalize 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'"},
|
||||
}
|
||||
|
||||
for i, test := range tests {
|
||||
|
||||
Reference in New Issue
Block a user