mirror of
https://github.com/pgsty/minio.git
synced 2026-07-15 16:30:29 +03:00
do not print unexpected logs (#20083)
This commit is contained in:
@@ -100,7 +100,7 @@ func TestMain(m *testing.M) {
|
||||
// Disable printing console messages during tests.
|
||||
color.Output = io.Discard
|
||||
// Disable Error logging in testing.
|
||||
logger.DisableErrorLog = true
|
||||
logger.DisableLog = true
|
||||
|
||||
// Uncomment the following line to see trace logs during unit tests.
|
||||
// logger.AddTarget(console.New())
|
||||
|
||||
Reference in New Issue
Block a user