aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Polden <mpolden@mpolden.no>2019-12-26 15:15:44 +0100
committerMartin Polden <mpolden@mpolden.no>2019-12-26 15:15:44 +0100
commit2abdcd5c81244ace4c70d82d617d042b3cf350e7 (patch)
tree42cce90eeb7e1fb008f7e10c5a08eb88a62b147c
parent1391d9563e14dec9f37f0f4d523fdb7f1d9590be (diff)
Bind HTTP server to random port in test
-rw-r--r--cmd/zdns/main_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/zdns/main_test.go b/cmd/zdns/main_test.go
index 83bf1aa..46ef643 100644
--- a/cmd/zdns/main_test.go
+++ b/cmd/zdns/main_test.go
@@ -30,6 +30,7 @@ func TestMain(t *testing.T) {
conf := `
[dns]
listen = "127.0.0.1:0"
+listen_http = "127.0.0.1:0"
[resolver]
protocol = "udp"