milvus/pkg/master/mock/grpc_client_test.go
bigsheeper d7056ce046 Fix test when search failed
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2020-09-15 15:53:10 +08:00

15 lines
213 B
Go

package mock
import (
"fmt"
"testing"
)
func TestFakeCreateCollectionByGRPC(t *testing.T) {
reason, segmentID := FakeCreateCollectionByGRPC()
if reason != "" {
t.Error(reason)
}
fmt.Println(segmentID)
}