Alex Vanin
20de74a505
Due to source code relocation from GitHub. Signed-off-by: Alex Vanin <a.vanin@yadro.com>
24 lines
476 B
Go
24 lines
476 B
Go
package blobstor
|
|
|
|
import (
|
|
"os"
|
|
"path/filepath"
|
|
"strconv"
|
|
"testing"
|
|
|
|
"git.frostfs.info/TrueCloudLab/frostfs-node/pkg/local_object_storage/internal/storagetest"
|
|
)
|
|
|
|
func TestGeneric(t *testing.T) {
|
|
defer func() { _ = os.RemoveAll(t.Name()) }()
|
|
|
|
var n int
|
|
newMetabase := func(t *testing.T) storagetest.Component {
|
|
n++
|
|
dir := filepath.Join(t.Name(), strconv.Itoa(n))
|
|
return New(
|
|
WithStorages(defaultStorages(dir, 128)))
|
|
}
|
|
|
|
storagetest.TestAll(t, newMetabase)
|
|
}
|