aboutsummaryrefslogtreecommitdiff
path: root/test/fail_start_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/fail_start_test.go')
-rw-r--r--test/fail_start_test.go21
1 files changed, 0 insertions, 21 deletions
diff --git a/test/fail_start_test.go b/test/fail_start_test.go
deleted file mode 100644
index aa1b137af..000000000
--- a/test/fail_start_test.go
+++ /dev/null
@@ -1,21 +0,0 @@
-package test
-
-import (
- "testing"
-
- "github.com/miekg/coredns/core"
-)
-
-// Bind to low port should fail.
-func TestFailStartServer(t *testing.T) {
- corefile := `.:53 {
- chaos CoreDNS-001 miek@miek.nl
-}
-`
- srv, _ := core.TestServer(t, corefile)
- err := srv.ListenAndServe()
- if err == nil {
- srv.Stop()
- t.Fatalf("Low port startup should fail")
- }
-}