mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-04 09:52:30 +08:00
16 lines
291 B
Go
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)
|
|
}
|