mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
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)
|
||
|
}
|
||
|
}
|