forked from TrueCloudLab/frostfs-node
Evgenii Stratonikov
96e690883f
In some places we have debug=false, in others debug=true. Let's be consistent. Semantic patch: ``` @@ @@ -test.NewLogger(..., false) +test.NewLogger(..., true) ``` Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
19 lines
466 B
Go
19 lines
466 B
Go
package writecachebadger
|
|
|
|
import (
|
|
"testing"
|
|
"time"
|
|
|
|
"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, true)),
|
|
WithFlushWorkersCount(2),
|
|
WithPath(t.TempDir()),
|
|
WithGCInterval(1*time.Second))
|
|
})
|
|
}
|