mirror of
https://github.com/minio/minio.git
synced 2026-11-24 23:20:49 +00:00
Remove MINIO_DEBUG environment variable (#2794)
Removes the unimplemented settings of MINIO_DEBUG=mem and makes MINIO_DEBUG=lock the default behaviour.
This commit is contained in:
1 parent
ca3022d545
commit
8ea571c7f7
8 files changed
+62
-103
No files matched your search
@@ -59,14 +59,11 @@ func TestControlLockMain(t *testing.T) {
|
||||
// schedule cleanup at the end
|
||||
defer testServer.Stop()
|
||||
|
||||
// enabling lock instrumentation.
|
||||
globalDebugLock = true
|
||||
// initializing the locks.
|
||||
initNSLock(false)
|
||||
// set debug lock info to `nil` so that other tests do not see
|
||||
// such modified env settings.
|
||||
defer func() {
|
||||
globalDebugLock = false
|
||||
nsMutex.debugLockMap = nil
|
||||
}()
|
||||
|
||||
|
||||
Reference in new issue
Block a user