mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-12-16 19:47:51 +08:00
d12a423aa0
add some tests https://github.com/chrislusf/seaweedfs/pull/2996
20 lines
399 B
Go
20 lines
399 B
Go
//go:build ydb
|
|
// +build ydb
|
|
|
|
package ydb
|
|
|
|
import (
|
|
"github.com/chrislusf/seaweedfs/weed/filer/store_test"
|
|
"testing"
|
|
)
|
|
|
|
func TestStore(t *testing.T) {
|
|
// run "make test_ydb" under docker folder.
|
|
// to set up local env
|
|
if false {
|
|
store := &YdbStore{}
|
|
store.initialize("/buckets", "grpc://localhost:2136/?database=local", "seaweedfs", true, 10, 50)
|
|
store_test.TestFilerStore(t, store)
|
|
}
|
|
}
|