aboutsummaryrefslogtreecommitdiff
path: root/plugin/kubernetes/log_test.go
diff options
context:
space:
mode:
authorGravatar Miek Gieben <miek@miek.nl> 2018-07-19 16:23:06 +0100
committerGravatar GitHub <noreply@github.com> 2018-07-19 16:23:06 +0100
commitf3134da45eb2808431a29fa55c58e3271bbba637 (patch)
treef4cf5a6e2453959cbb69b4e46e82efb62b370a1c /plugin/kubernetes/log_test.go
parentc69bed726b4a7b8726833e009ed6dd70a74f0dec (diff)
downloadcoredns-f3134da45eb2808431a29fa55c58e3271bbba637.tar.gz
coredns-f3134da45eb2808431a29fa55c58e3271bbba637.tar.zst
coredns-f3134da45eb2808431a29fa55c58e3271bbba637.zip
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>
Diffstat (limited to 'plugin/kubernetes/log_test.go')
-rw-r--r--plugin/kubernetes/log_test.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugin/kubernetes/log_test.go b/plugin/kubernetes/log_test.go
new file mode 100644
index 000000000..b8b7b7473
--- /dev/null
+++ b/plugin/kubernetes/log_test.go
@@ -0,0 +1,5 @@
+package kubernetes
+
+import clog "github.com/coredns/coredns/plugin/pkg/log"
+
+func init() { clog.Discard() }
='jarred/rewrite-router'>jarred/rewrite-router Unnamed repository; edit this file 'description' to name the repository.
aboutsummaryrefslogtreecommitdiff
path: root/src/bun.js/builtins/cpp/WritableStreamDefaultWriterBuiltins.cpp (unfollow)
AgeCommit message (Expand)AuthorFilesLines
2023-04-03disabled -> disableGravatar Colin McDonnell 1-2/+7
2023-04-03AutoinstallGravatar Colin McDonnell 1-10/+9
2023-04-03telemetryGravatar Colin McDonnell 1-6/+7
2023-04-03AutoinstallGravatar Colin McDonnell 1-4/+8
2023-04-03TweakGravatar Colin McDonnell 1-4/+1
2023-04-03FormattingGravatar Colin McDonnell 1-11/+10
2023-04-03UpdatesGravatar Colin McDonnell 1-12/+14
2023-04-03Fix tableGravatar Colin McDonnell 1-2/+3
2023-04-03TypoGravatar Colin McDonnell 1-10/+25
2023-04-03Propose changes to BunfigGravatar Colin McDonnell 2-0/+145