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
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>
17 lines
423 B
Go
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()))
|
|
})
|
|
}
|