2023-06-22 11:55:30 +00:00
|
|
|
package writecachebbolt
|
|
|
|
|
|
|
|
import (
|
|
|
|
"testing"
|
|
|
|
|
|
|
|
"git.frostfs.info/TrueCloudLab/frostfs-node/pkg/local_object_storage/internal/storagetest"
|
2023-08-23 07:53:42 +00:00
|
|
|
"git.frostfs.info/TrueCloudLab/frostfs-node/pkg/util/logger/test"
|
2023-06-22 11:55:30 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
func TestGeneric(t *testing.T) {
|
|
|
|
storagetest.TestAll(t, func(t *testing.T) storagetest.Component {
|
|
|
|
return New(
|
2023-08-23 07:53:42 +00:00
|
|
|
WithLogger(test.NewLogger(t, false)),
|
2023-06-22 11:55:30 +00:00
|
|
|
WithFlushWorkersCount(2),
|
|
|
|
WithPath(t.TempDir()))
|
|
|
|
})
|
|
|
|
}
|