refactor
add some tests https://github.com/chrislusf/seaweedfs/pull/2996
This commit is contained in:
19
weed/filer/ydb/ydb_store_test.go
Normal file
19
weed/filer/ydb/ydb_store_test.go
Normal file
@@ -0,0 +1,19 @@
|
||||
//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)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user