coredns/plugin
Miek Gieben f3134da45e
Clean up tests logging (#1979)
* Clean up tests logging

This cleans up the travis logs so you can see the failures better.

Older tests in tests/ would call log.SetOutput(ioutil.Discard) in
a haphazard way. This add log.Discard and put an `init` function in each
package's dir (no way to do this globally). The cleanup in tests/ is
clear.

All plugins also got this init function to have some uniformity and kill
any (future) logging there in the tests as well.

There is a one-off in pkg/healthcheck because that does log.

Signed-off-by: Miek Gieben <miek@miek.nl>

* bring back original log_test.go

Signed-off-by: Miek Gieben <miek@miek.nl>

* suppress logging here as well

Signed-off-by: Miek Gieben <miek@miek.nl>
2018-07-19 16:23:06 +01:00
..
auto Clean up tests logging (#1979) 2018-07-19 16:23:06 +01:00
autopath presubmit: check for uppercase (#1774) 2018-05-07 23:47:25 +02:00
bind Clean up tests logging (#1979) 2018-07-19 16:23:06 +01:00
cache Clean up tests logging (#1979) 2018-07-19 16:23:06 +01:00
chaos Clean up tests logging (#1979) 2018-07-19 16:23:06 +01:00
debug Clean up tests logging (#1979) 2018-07-19 16:23:06 +01:00
deprecated Implement deprecation notice for 1.1.4 (#1833) 2018-05-24 14:30:01 +01:00
dnssec Clean up tests logging (#1979) 2018-07-19 16:23:06 +01:00
dnstap Clean up tests logging (#1979) 2018-07-19 16:23:06 +01:00
erratic Clean up tests logging (#1979) 2018-07-19 16:23:06 +01:00
errors Clean up tests logging (#1979) 2018-07-19 16:23:06 +01:00
etcd Clean up tests logging (#1979) 2018-07-19 16:23:06 +01:00
federation Clean up tests logging (#1979) 2018-07-19 16:23:06 +01:00
file Clean up tests logging (#1979) 2018-07-19 16:23:06 +01:00
forward Clean up tests logging (#1979) 2018-07-19 16:23:06 +01:00
health Clean up tests logging (#1979) 2018-07-19 16:23:06 +01:00
hosts Clean up tests logging (#1979) 2018-07-19 16:23:06 +01:00
kubernetes Clean up tests logging (#1979) 2018-07-19 16:23:06 +01:00
loadbalance Clean up tests logging (#1979) 2018-07-19 16:23:06 +01:00
log Clean up tests logging (#1979) 2018-07-19 16:23:06 +01:00
metadata Clean up tests logging (#1979) 2018-07-19 16:23:06 +01:00
metrics Clean up tests logging (#1979) 2018-07-19 16:23:06 +01:00
nsid Clean up tests logging (#1979) 2018-07-19 16:23:06 +01:00
pkg Clean up tests logging (#1979) 2018-07-19 16:23:06 +01:00
pprof Clean up tests logging (#1979) 2018-07-19 16:23:06 +01:00
proxy Clean up tests logging (#1979) 2018-07-19 16:23:06 +01:00
reload Clean up tests logging (#1979) 2018-07-19 16:23:06 +01:00
rewrite Clean up tests logging (#1979) 2018-07-19 16:23:06 +01:00
root Clean up tests logging (#1979) 2018-07-19 16:23:06 +01:00
route53 Clean up tests logging (#1979) 2018-07-19 16:23:06 +01:00
secondary Clean up tests logging (#1979) 2018-07-19 16:23:06 +01:00
template Clean up tests logging (#1979) 2018-07-19 16:23:06 +01:00
test plugin/test: Fix documentation (#1948) 2018-07-07 08:30:57 +01:00
tls Clean up tests logging (#1979) 2018-07-19 16:23:06 +01:00
trace Clean up tests logging (#1979) 2018-07-19 16:23:06 +01:00
whoami Clean up tests logging (#1979) 2018-07-19 16:23:06 +01:00
backend.go all: fix plugin import ordering (#1717) 2018-04-22 08:34:35 +01:00
backend_lookup.go Follow up on #1867 : use one map in backend_lookup (#1869) 2018-06-18 11:16:56 +01:00
log_test.go Clean up tests logging (#1979) 2018-07-19 16:23:06 +01:00
normalize.go make CoreDNS DoH Server (#1619) 2018-05-21 19:40:46 +01:00
normalize_test.go CIDR query routing (#1159) 2017-10-24 10:16:03 +01:00
plugin.go all: fix plugin import ordering (#1717) 2018-04-22 08:34:35 +01:00