mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-12-23 00:27:55 +08:00
20 lines
399 B
Go
20 lines
399 B
Go
//go:build ydb
|
|
// +build ydb
|
|
|
|
package ydb
|
|
|
|
import (
|
|
"github.com/seaweedfs/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)
|
|
}
|
|
}
|