frostfs-node/pkg/local_object_storage/writecache/writecachebbolt/generic_test.go
Evgenii Stratonikov e2f80e29d6
All checks were successful
DCO action / DCO (pull_request) Successful in 2m52s
Build / Build Components (1.21) (pull_request) Successful in 4m44s
Build / Build Components (1.20) (pull_request) Successful in 5m49s
Vulncheck / Vulncheck (pull_request) Successful in 6m49s
Tests and linters / Lint (pull_request) Successful in 8m5s
Tests and linters / Staticcheck (pull_request) Successful in 8m23s
Tests and linters / Tests (1.21) (pull_request) Successful in 8m41s
Tests and linters / Tests (1.20) (pull_request) Successful in 8m51s
Tests and linters / Tests with -race (pull_request) Successful in 9m14s
[#638] Unify test loggers
In some places we have debug=false, in others debug=true.
Let's be consistent.

Semantic patch:
```
@@
@@
-test.NewLogger(..., false)
+test.NewLogger(..., true)
```

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2023-08-23 10:57:08 +03:00

17 lines
423 B
Go

package writecachebbolt
import (
"testing"
"git.frostfs.info/TrueCloudLab/frostfs-node/pkg/local_object_storage/internal/storagetest"
"git.frostfs.info/TrueCloudLab/frostfs-node/pkg/util/logger/test"
)
func TestGeneric(t *testing.T) {
storagetest.TestAll(t, func(t *testing.T) storagetest.Component {
return New(
WithLogger(test.NewLogger(t, true)),
WithFlushWorkersCount(2),
WithPath(t.TempDir()))
})
}