forked from TrueCloudLab/frostfs-node
Evgenii Stratonikov
322c1dc273
Semantic patch (restricted to **/*_test.go): ``` @@ @@ +import "git.frostfs.info/TrueCloudLab/frostfs-node/pkg/util/logger/test" -import "go.uber.org/zap" -import "git.frostfs.info/TrueCloudLab/frostfs-node/pkg/util/logger" -&logger.Logger{Logger: zap.L()} +test.NewLogger(t, false) ``` Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
17 lines
424 B
Go
17 lines
424 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, false)),
|
|
WithFlushWorkersCount(2),
|
|
WithPath(t.TempDir()))
|
|
})
|
|
}
|