mirror of https://github.com/milvus-io/milvus.git
enhance: [skip e2e] change some long logs (#32309)
<img width="1042" alt="image" src="https://github.com/milvus-io/milvus/assets/64083300/8daa9ab9-1988-4398-a92a-7d2dac2cd8cd"> change this log Signed-off-by: lixinguo <xinguo.li@zilliz.com> Co-authored-by: lixinguo <xinguo.li@zilliz.com>pull/32353/head
parent
7deda4d5e9
commit
d1ef0a81ee
|
@ -101,11 +101,12 @@ func (s *BalanceTestSuit) initCollection(collectionName string, replica int, cha
|
||||||
}
|
}
|
||||||
|
|
||||||
pks := insertResult.GetIDs().GetIntId().GetData()
|
pks := insertResult.GetIDs().GetIntId().GetData()
|
||||||
expr := fmt.Sprintf("%s in [%s]", integration.Int64Field, strings.Join(lo.Map(pks, func(pk int64, _ int) string { return strconv.FormatInt(pk, 10) }), ","))
|
|
||||||
log.Info("========================delete expr==================",
|
log.Info("========================delete expr==================",
|
||||||
zap.String("expr", expr),
|
zap.Int("length of pk", len(pks)),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
expr := fmt.Sprintf("%s in [%s]", integration.Int64Field, strings.Join(lo.Map(pks, func(pk int64, _ int) string { return strconv.FormatInt(pk, 10) }), ","))
|
||||||
|
|
||||||
deleteResp, err := s.Cluster.Proxy.Delete(ctx, &milvuspb.DeleteRequest{
|
deleteResp, err := s.Cluster.Proxy.Delete(ctx, &milvuspb.DeleteRequest{
|
||||||
CollectionName: collectionName,
|
CollectionName: collectionName,
|
||||||
Expr: expr,
|
Expr: expr,
|
||||||
|
|
Loading…
Reference in New Issue