aboutsummaryrefslogtreecommitdiff
path: root/test/server_test.go
diff options
context:
space:
mode:
authorGravatar Miek Gieben <miek@miek.nl> 2017-01-12 08:13:50 +0000
committerGravatar GitHub <noreply@github.com> 2017-01-12 08:13:50 +0000
commit94c59da57783c04426833dfcfa085f3ea304a1db (patch)
tree921de757789e423e547ebfa1905cdd361b203c15 /test/server_test.go
parent0c3ad499d87b4ee4e43a49ac8c8102e6369d7e19 (diff)
downloadcoredns-94c59da57783c04426833dfcfa085f3ea304a1db.tar.gz
coredns-94c59da57783c04426833dfcfa085f3ea304a1db.tar.zst
coredns-94c59da57783c04426833dfcfa085f3ea304a1db.zip
Run tests in parallel (#478)
Create a small speedup running the tests: PASS ok github.com/miekg/coredns/test 10.329s PASS ok github.com/miekg/coredns/test 6.079s Skip the etcd ones. Doing the middleware/*/*_test ones doesn't yield any speedup as these are still done on a per directory basis.
Diffstat (limited to 'test/server_test.go')
-rw-r--r--test/server_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/server_test.go b/test/server_test.go
index 58e929e96..b7abc86c3 100644
--- a/test/server_test.go
+++ b/test/server_test.go
@@ -8,6 +8,7 @@ import (
// Start 2 tests server, server A will proxy to B, server B is an CH server.
func TestProxyToChaosServer(t *testing.T) {
+ t.Parallel()
corefile := `.:0 {
chaos CoreDNS-001 miek@miek.nl
}