2023-12-22 09:58:20 +00:00
|
|
|
package writecache
|
2023-06-22 11:55:30 +00:00
|
|
|
|
|
|
|
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(
|
2024-01-09 08:37:41 +00:00
|
|
|
WithLogger(test.NewLogger(t)),
|
2023-06-22 11:55:30 +00:00
|
|
|
WithFlushWorkersCount(2),
|
|
|
|
WithPath(t.TempDir()))
|
|
|
|
})
|
|
|
|
}
|