From 80055f0c2eaef520017fef5453903e7333519e4a Mon Sep 17 00:00:00 2001 From: Shulhan Date: Sun, 22 May 2022 16:02:42 +0700 Subject: all: change the test debug level from 2 to 1 Since we move and watch doc files, running "make dev" with debug level set to 2 add more noise due to logs from converting .adoc files. --- _test/etc/rescached/rescached.cfg | 2 +- environment_test.go | 2 +- testdata/rescached.cfg.test.out | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/_test/etc/rescached/rescached.cfg b/_test/etc/rescached/rescached.cfg index 743db17..5db7c9f 100644 --- a/_test/etc/rescached/rescached.cfg +++ b/_test/etc/rescached/rescached.cfg @@ -9,7 +9,7 @@ [rescached] file.resolvconf= -debug=2 +debug=1 wui.listen = 127.0.0.1:5381 [block.d "pgl.yoyo.org"] diff --git a/environment_test.go b/environment_test.go index 43f932e..4c3393e 100644 --- a/environment_test.go +++ b/environment_test.go @@ -97,7 +97,7 @@ func TestLoadEnvironment(t *testing.T) { }, TLSAllowInsecure: true, }, - Debug: 2, + Debug: 1, } expBuffer []byte diff --git a/testdata/rescached.cfg.test.out b/testdata/rescached.cfg.test.out index 3e17195..e55d29c 100644 --- a/testdata/rescached.cfg.test.out +++ b/testdata/rescached.cfg.test.out @@ -1,7 +1,7 @@ [rescached] file.resolvconf = wui.listen = 127.0.0.1:5381 -debug = 2 +debug = 1 [block.d "pgl.yoyo.org"] name = pgl.yoyo.org -- cgit v1.3