milvus/pkg/master/mock/grpc_client_test.go
rain e704667bc5 Finish all feature and update the README of master
Signed-off-by: rain <boyan.wang@zilliz.com>
2020-09-08 16:57:48 +08:00

16 lines
291 B
Go

package mock
import (
"fmt"
"testing"
)
func TestFakeCreateCollectionByGRPC(t *testing.T) {
collectionName, segmentID := FakeCreateCollectionByGRPC()
if collectionName != "grpc-client-test" {
t.Error("Collection name wrong")
}
fmt.Println(collectionName)
fmt.Println(segmentID)
}