forked from TrueCloudLab/frostfs-node
18 lines
466 B
Go
18 lines
466 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"
|
|
"go.uber.org/zap/zaptest"
|
|
)
|
|
|
|
func TestGeneric(t *testing.T) {
|
|
storagetest.TestAll(t, func(t *testing.T) storagetest.Component {
|
|
return New(
|
|
WithLogger(&logger.Logger{Logger: zaptest.NewLogger(t)}),
|
|
WithFlushWorkersCount(2),
|
|
WithPath(t.TempDir()))
|
|
})
|
|
}
|